/* Estilos para a tela de resultado redesenhada */
.icon-class{
    font-size: 2rem;
    width: 100%;
    height: 100%;
}
.mapa-personalizado {
    color: #024248;
    padding: 2rem 0;
    margin: 0 auto;
    background: #F5F7FA;
}

.center-container{
  display: flex;
  align-items: center;
}

.container {
    width: 100%;
    padding: 0 1.5rem;
}

/* Estilo do cabeçalho */
.header-icon {
    display: flex;
    justify-content: center;
    margin-bottom: 1.5rem;
}

.icon-circle {
    width: 70px;
    height: 70px;
    background-color: #024248;
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    color: white;
    font-size: 2rem;
}

.mapa-header {
    text-align: center;
    margin-bottom: 2.5rem;
    border-radius: 20px;
    border: 1px solid #C8D1E0;
}

.mapa-header h1 {
    font-size: 2.5rem;
    font-weight: 700;
    color: #024248;
    margin-bottom: 1rem;
}

.categoria-badge {
    display: inline-block;
    padding: 0.5rem 1rem;
    background-color: #f0f8fa;
    border-radius: 20px;
    color: #024248;
    font-weight: 500;
    font-size: 0.9rem;
    letter-spacing: 0.5px;
    margin: 1rem 0;
}

.texto-resultado {
    max-width: 700px;
    margin: 1rem auto;
    line-height: 1.5;
}

/* Estilo da cápsula principal */
.capsula-principal {
    margin-bottom: 3rem;
}

.capsula-card-two {
    background-color: white;
    border-radius: 20px;
    border: 1px solid #C8D1E0;
    padding: 2rem;
    display: flex;
    flex-direction: column;
    align-items: center;
    position: relative;
    overflow: hidden;
    margin-bottom: 1rem;
}

.capsula-card {
    background-color: white;
    border-radius: 12px;
    box-shadow: 0 2px 12px rgba(0, 0, 0, 0.08);
    display: flex;
    flex-direction: column;
    align-items: center;
    border: 1px solid #f0f0f0;
    position: relative;
    overflow: hidden;
    margin-bottom: 1rem;
}

.card-icon {
    margin-bottom: 1.5rem;
}

.icon-target {
    width: 60px;
    height: 60px;
    background-color: #024248;
    border-radius: 12px;
    display: flex;
    align-items: center;
    justify-content: center;
    color: white;
    font-size: 1.5rem;
}

.card-content {
    text-align: center;
    width: 100%;
}

.comece-aqui {
    color: #0d3950;
    font-weight: 700;
    margin-bottom: 1.5rem;
    font-size: 1.2rem;
    letter-spacing: 0.5px;
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 0.5rem;
}

.rocket-icon {
    font-size: 1.5rem;
}

.capsula-title {
    font-size: 1.8rem;
    font-weight: 700;
    margin-bottom: 1rem;
    color: #024248;
}

.capsula-subtitle {
    color: #5a6c77;
    margin-bottom: 2rem;
    font-size: 1.1rem;
    line-height: 1.6;
    max-width: 700px;
    margin-left: auto;
    margin-right: auto;
}

.action-button {
    margin-top: 1.5rem;
}

.btn-acessar {
    display: inline-flex;
    align-items: center;
    gap: 8px;
    background-color: #007D7A;
    color: white;
    padding: 0.8rem 1.5rem;
    border-radius: 6px;
    text-decoration: none;
    font-weight: 600;
    transition: all 0.2s ease;
}

.btn-acessar:hover {
    background-color: #003e4e;
}

/* Seção próximos passos */
.proximos-passos {
    background-color: white;
    border-radius: 12px;
    box-shadow: 0 2px 12px rgba(0, 0, 0, 0.08);
    padding: 2rem;
    border: 1px solid #f0f0f0;
    margin-bottom: 2rem;
}

.section-title {
    display: flex;
    align-items: center;
    gap: 8px;
    font-size: 1.3rem;
    color: #0d3950;
    font-weight: 700;
    margin-bottom: 0.5rem;
}

.section-icon-two {
    font-size: 1.5rem;
    background-color: #024248;
    color: white;
    padding: 20px;
    border-radius: 20px;
}

.section-subtitle {
    color: #5a6c77;
    margin-bottom: 2rem;
    padding-left: 4.4rem;
}

.capsulas-complementares {
    display: flex;
    flex-direction: column;
    gap: 1rem;
}

.capsula-item {
    display: flex;
    align-items: center;
    padding: 1rem;
    background-color: #f8fcfd;
    border-radius: 8px;
    transition: all 0.2s ease;
    border: 1px solid #e0eef2;
}

.capsula-item:hover {
    background-color: #f0f8fa;
    transform: translateX(5px);
}

.item-number {
    width: 36px;
    height: 36px;
    background-color: #024248;
    color: white;
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    font-weight: 600;
    margin-right: 1rem;
}

.item-content {
    flex-grow: 1;
}

.item-title {
    font-size: 1.1rem;
    font-weight: 600;
    color: #0d3950;
}

.item-action {
    margin-left: 1rem;
}

.item-link {
    width: 36px;
    height: 36px;
    background-color: #e0f4f8;
    color: #007D7A;
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    text-decoration: none;
    transition: all 0.2s ease;
}

.item-link:hover {
    background-color: #006969;
    color: white;
}

/* Botões de ação */
.acoes-resultado {
    display: flex;
    justify-content: center;
    gap: 1rem;
    margin-top: 3rem;
}


/* Responsividade */
@media (max-width: 768px) {
    .mapa-header h1 {
        font-size: 2rem;
    }
    
    .capsula-title {
        font-size: 1.5rem;
    }
    
    .acoes-resultado {
        flex-direction: column;
        gap: 0.8rem;
    }
}

/* Para FontAwesome ou melhor compatibilidade com os ícones */
.fa-star-sparkles:before {
    content: "★";
}

.fa-bullseye:before {
    content: "◎";
}

.fa-book-open:before {
    content: "📖";
}

.fa-refresh:before {
    content: "↻";
}

.fa-print:before {
    content: "🖨️";
}

.fa-arrow-right:before {
    content: "→";
}


.quiz-header {
    text-align: center;
    color: #024248;
    padding: 2rem 0;
}

.quiz-header h1 {
    text-align: center;
    font-size: 40px;
    font-weight: 600;
    color: #024248;
}


.quiz-header p {
    color: #555;
    font-size: 1.1rem;
}

.question-block {
    padding: 2rem;
    margin-bottom: 2rem;
    background-color: #f9f9f9;
    border-radius: 8px;
    border-left: 5px solid #024248;
}

.question-number {
    display: inline-block;
    width: 36px;
    height: 36px;
    background-color: #024248;
    color: white;
    border-radius: 50%;
    text-align: center;
    line-height: 36px;
    font-weight: bold;
    margin-right: 10px;
    vertical-align: middle;
}

.question-title {
    display: inline-block;
    font-size: 20px;
    margin-bottom: 0.5rem;
    font-weight: 600;
    vertical-align: middle;
}

.question-subtitle {
    margin-left: 46px;
    margin-bottom: 1.5rem;
    color: #666;
    font-size: 0.95rem;
}

.options-grid {
    display: grid;
    grid-template-columns: repeat(auto-fill, minmax(350px, 1fr));
    gap: 1rem;
    margin-top: 1rem;
}

.option-card {
    background-color: white;
    border: 1px solid #ddd;
    border-radius: 8px;
    padding: 1rem;
    cursor: pointer;
    transition: all 0.3s ease;
    display: flex;
    align-items: center;
}

.option-card:hover {
    border-color: #024248;
    box-shadow: 0 0 10px rgba(7, 29, 65, 0.1);
}

.option-card.selected {
    border-color: #024248;
    background-color: rgba(7, 29, 65, 0.05);
}

.option-checkbox {
    margin-right: 12px;
}

.option-icon {
    margin-right: 12px;
    font-size: 1.2rem;
    width: 24px;
    color: #024248;
}

.option-text {
    font-weight: 500;
}

.form-buttons {
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 20px;
    text-align: center;
    margin-top: 2rem;
    margin-bottom: 1rem;
}

:root {
    --primary-color: #0A6C76;
    --primary-light: #e0f7fa;
    --secondary-color: #0A6C76;
    --accent-color: #f97316;
    --background-color: #f8fafc;
    --card-bg: #ffffff;
    --text-color: #033540;
    --text-light: #4a6572;
    --border-color: #e2e8f0;
    --shadow: 0 1px 3px rgba(0, 0, 0, 0.05), 0 1px 2px rgba(0, 0, 0, 0.06);
    --shadow-hover: 0 10px 25px -5px rgba(0, 0, 0, 0.1), 0 8px 10px -6px rgba(0, 0, 0, 0.05);
    --radius: 12px;
    --radius-sm: 8px;
    --radius-full: 9999px;
    --transition: all 0.3s cubic-bezier(0.4, 0, 0.2, 1);
  }
  
  * {
    margin: 0;
    padding: 0;
    box-sizing: border-box;
  }
  
  body {
    font-family: var(--font-sans);
    background-color: var(--background-color);
    color: var(--text-color);
    line-height: 1.6;
  }
  
  /* Menu e cabeçalho */

  
  .menu a {
    color: white;
    text-decoration: none;
    font-size: 0.875rem;
    transition: opacity 0.15s ease;
  }
  
  .menu a:hover {
    opacity: 0.8;
    text-decoration: underline;
  }
  
  .separator {
    height: 1rem;
    width: 1px;
    background-color: rgba(255, 255, 255, 0.5);
  }
  
  .logo {
    margin-right: auto;
  }
  
  /* Main content container */
  .acessibilidade-container-page {
    background-color: #F5F7FA;
  }
  
  .page-title-container {
    padding: 2.5rem 0;
    background-color: transparent;
    position: relative;
    max-width: 1142px;
    margin: auto;
  }
  
  .page-title-container::before {
    content: '';
    position: absolute;
    width: 100vw;
    left: 50%;
    transform: translateX(-50%);
    top: 0;
    bottom: 0;
    background-color: white;
    z-index: -1;
  }
  
  .page-title-capsulas{
    color: var(--text-color);
    font-weight: 800;
    font-size: 32px;
    margin-bottom: 0.75rem;
    letter-spacing: -0.025em;
    line-height: 1.2;
  }
  
  /* Search and filter layout */
  .acessibilidade-conteudo-container {
    display: flex;
    gap: 2.5rem;
  }

  .page-containera-cessibilidade {
    background: white;
    width: 100%;
  }
  
  /* Sidebar filters */
  .filtros-lateral {
    width: 340px;
    flex-shrink: 0;
  }
  
  .search-box-container {
    background-color: white;
    padding: 1.25rem;
    border-radius: var(--radius);
    box-shadow: var(--shadow);
    margin-bottom: 1.5rem;
  }
  
  .search-box {
    display: flex;
    align-items: center;
    border: 1px solid var(--border-color);
    border-radius: var(--radius-full);
    padding: 0 0.75rem;
    transition: var(--transition);
  }
  
  .search-box:focus-within {
    border-color: var(--primary-color);
    box-shadow: 0 0 0 2px rgba(10, 108, 118, 0.15);
  }
  
  .search-box input {
    flex: 1;
    padding: 0.75rem;
    border: none;
    outline: none;
    font-size: 0.95rem;
    border-radius: var(--radius-full);
  }
  
  .search-icon {
    color: var(--text-light);
  }
  
  /* Filtros avançados */
  .filtros-avancados-container {
    background-color: white;
    padding: 1.25rem;
    border-radius: var(--radius);
    box-shadow: var(--shadow);
    margin-bottom: 1.5rem;
    position: relative;
  }
  
  .filtros-header {
    display: flex;
    align-items: center;
    justify-content: space-between;
    padding: 0 0 0.75rem 0;
    margin-bottom: 1.25rem;
    border-bottom: 1px solid var(--border-color);
    font-weight: 600;
    color: var(--text-color);
  }
  
  .filtros-titulo {
    display: flex;
    align-items: center;
    gap: 0.5rem;
  }
  
  .filtros-header button {
    display: flex;
    align-items: center;
    justify-content: center;
    width: 2rem;
    height: 2rem;
    background: none;
    border: none;
    border-radius: var(--radius-full);
    cursor: pointer;
    color: var(--text-light);
    transition: background-color 0.15s ease;
  }
  
  .filtros-header button:hover {
    background-color: #f5f5f5;
  }
  
  /* Categorias de filtros */
  .categoria-filtro {
    border: none;
    margin-bottom: 2rem;
  }
  
  .categoria-titulo {
    font-weight: 600;
    margin-bottom: 0.9rem;
    color: var(--text-color);
    font-size: 0.95rem;
  }
  
  /* Checkboxes */
  .opcoes-filtro {
    display: flex;
    flex-direction: column;
    gap: 0.625rem;
  }
  
  .checkbox-item {
    display: flex;
    align-items: center;
  }

  
  .checkbox-label {
    position: relative;
    padding-left: 1.75rem;
    font-size: 0.9rem;
    color: var(--text-color);
    cursor: pointer;
    display: inline-block;
    user-select: none;
    transition: color 0.15s ease;
  }
  
  .checkbox-label:before {
    content: '';
    position: absolute;
    left: 0;
    top: 0.15rem;
    width: 1rem;
    height: 1rem;
    border: 1px solid #cbd5e1;
    background-color: #fff;
    border-radius: 4px;
    transition: all 0.15s ease;
  }
  

  
  .checkbox-item:hover .checkbox-label:before {
    border-color: var(--primary-color);
  }
  
  /* Results area */
  .resultados-container {
    flex: 1;
    animation: fadeIn 0.5s ease;
  }
  
  @keyframes fadeIn {
    from { opacity: 0; transform: translateY(10px); }
    to { opacity: 1; transform: translateY(0); }
  }
  
  .filtros-ativos-container {
    margin-bottom: 1.25rem;
    display: flex;
    flex-wrap: wrap;
    gap: 0.625rem;
    align-items: center;
  }
  
  .resultados-header {
    display: flex;
    justify-content: space-between;
    align-items: center;
    margin-bottom: 1.75rem;
  }
  
  .contagem-resultados {
    font-size: 0.95rem;
    font-weight: 500;
    color: var(--text-color);
  }
  
  .ordenacao-dropdown {
    position: relative;
  }
  
  .ordenacao-button {
    display: flex;
    align-items: center;
    gap: 0.5rem;
    padding: 0.5rem 1rem;
    border: 1px solid var(--border-color);
    border-radius: var(--radius-full);
    background-color: white;
    color: var(--text-color);
    font-size: 0.9rem;
    cursor: pointer;
    transition: var(--transition);
  }
  
  .ordenacao-button:hover {
    background-color: #f8f8f8;
    border-color: #cbd5e1;
  }
  
  .tag-filtro {
    display: inline-flex;
    align-items: center;
    gap: 0.5rem;
    padding: 0.4rem 0.9rem;
    background-color: #f1f5f9;
    border-radius: var(--radius-full);
    font-size: 0.875rem;
    color: var(--text-color);
    transition: var(--transition);
  }
  
  .tag-filtro:hover {
    background-color: #e2e8f0;
  }
  
  .tag-filtro button {
    display: flex;
    align-items: center;
    justify-content: center;
    background: none;
    border: none;
    cursor: pointer;
    color: var(--text-light);
    transition: color 0.15s ease;
  }
  
  .tag-filtro button:hover {
    color: #ef4444;
  }
  
  .limpar-todos {
    font-size: 0.875rem;
    color: var(--primary-color);
    text-decoration: none;
    margin-left: 0.5rem;
    padding: 0.375rem 0.75rem;
    border-radius: var(--radius-full);
    transition: var(--transition);
  }
  
  .limpar-todos:hover {
    background-color: rgba(10, 108, 118, 0.08);
    text-decoration: none;
  }
  
  .grade-resultados {
    display: grid;
    grid-template-columns: repeat(auto-fill, minmax(330px, 1fr));
    gap: 2rem;
  }
  

 
  
  .capsula-icone {
    width: 3.25rem;
    height: 3.25rem;
    display: flex;
    align-items: center;
    justify-content: center;
    background-color: var(--primary-light);
    color: white;
    border-radius: 10px;
    margin-bottom: 1.25rem;
  }

  
  .capsula-icone svg {
    width: 1.75rem;
    height: 1.75rem;
  }
  
  .capsula-conteudo {
    padding: 20px;
    display: flex;
    flex-direction: column;
    flex-grow: 1;
    justify-content: space-between;
    height: 100%;
  }
  
  .capsula-titulo {
    color: var(--primary-color);
    font-size: 1.35rem;
    font-weight: 700;
    margin-bottom: 10px;
    line-height: 1.3;
    transition: var(--transition);
  }
  
  .capsula-card:hover .capsula-titulo {
    color: #085a63;
  }
  
  .capsula-descricao {
    color: var(--text-light);
    font-size: 0.95rem;
    margin-bottom: 0px;
    flex-grow: 1;
    line-height: 1.6;

    display: -webkit-box;
    -webkit-line-clamp: 3;
    -webkit-box-orient: vertical;
    overflow: hidden;
    text-overflow: ellipsis;
  }
  
  /* Tags de tipos */
  .capsula-tipos {
    display: flex;
    gap: 1rem;
    flex-wrap: wrap;
    margin-bottom: 1.25rem;
    display: flex;
    align-items: center;
    color: #024248;
    margin-top: 10px;
  }
  
  .capsula-tipo {
    display: flex;
    align-items: center;
    gap: 0.35rem;
    color: #024248;
  }
  
  .capsula-tipo-visual .tipo-dot {
    width: 0.5rem;
    height: 0.5rem;
    background-color: var(--primary-color);
    border-radius: 50%;
  }
  
  .capsula-tipo-visual .tipo-text {
    font-size: 0.85rem;
    font-weight: 500;
  }
  
  /* Tags de recursos */
  .capsula-recursos {
    display: flex;
    flex-wrap: wrap;
    gap: 0.625rem;
    margin-bottom: 1.75rem;
  }
  
  .recurso-tag {
    display: inline-flex;
    align-items: center;
    gap: 0.35rem;
    padding: 0.375rem 0.625rem;
    background-color: #f1f5f9;
    border-radius: var(--radius-sm);
    font-size: 0.75rem;
    color: var(--text-color);
    transition: var(--transition);
  }
  
  .capsula-card:hover .recurso-tag {
    background-color: #e2e8f0;
  }
  
  .recurso-tag svg {
    width: 0.85rem;
    height: 0.85rem;
  }
  
  /* Priority badges */
  .prioridade-tag {
    display: inline-flex;
    align-items: center;
    gap: 0.35rem;
    padding: 0.375rem 0.625rem;
    border-radius: var(--radius-sm);
    font-size: 0.8rem;
    font-weight: 500;
    margin-bottom: 1.25rem;
    width: fit-content;
    background: #E6EFFA;
    color: #155BCB;
  }
  
  .prioridade-obrigatorio {
    background-color: rgba(239, 68, 68, 0.1);
    color: #ef4444;
  }
  
  /* Empty state */
  .conteudo-vazio {
    padding: 4rem 2rem;
    text-align: center;
    background-color: white;
    border-radius: var(--radius);
    box-shadow: var(--shadow);
    border: 1px solid rgba(0, 0, 0, 0.03);
  }
  
  .conteudo-vazio-icone {
    width: 4rem;
    height: 4rem;
    color: var(--text-light);
    margin-bottom: 1.5rem;
    opacity: 0.7;
  }
  
  .conteudo-vazio h2 {
    font-size: 1.75rem;
    margin-bottom: 0.75rem;
    color: var(--text-color);
    font-weight: 600;
  }
  
  .conteudo-vazio p {
    color: var(--text-light);
    max-width: 400px;
    margin: 0 auto;
  }
  
  .conteudo-vazio a {
    color: var(--primary-color);
    text-decoration: none;
    font-weight: 500;
    transition: color 0.15s ease;
  }
  
  .conteudo-vazio a:hover {
    color: #085a63;
    text-decoration: underline;
  }
  
  /* Responsive styles */
  @media (max-width: 1100px) {
    .acessibilidade-conteudo-container {
      flex-direction: column;
    }
  
    .filtros-lateral {
      width: 100%;
    }
    
    .grade-resultados {
      grid-template-columns: repeat(auto-fill, minmax(300px, 1fr));
    }
  }
  
  @media (max-width: 768px) {
    .page-title-capsulas {
      font-size: 2rem;
    }
    
    .page-title-container {
      padding: 2rem 0;
    }
    

    .logo {
      margin-right: 0;
      margin-bottom: 0.5rem;
    }
    
    .resultados-header {
      flex-direction: column;
      align-items: flex-start;
      gap: 1rem;
    }
    
    .grade-resultados {
      grid-template-columns: repeat(auto-fill, minmax(280px, 1fr));
    }
  }
  
  @media (max-width: 640px) {
    .acessibilidade-container-page {
      padding: 0 1rem;
    }
    
    .page-title-container {
      padding: 1.5rem 0;
    }
    
    .page-title {
      font-size: 1.75rem;
    }
    
    .grade-resultados {
      grid-template-columns: 1fr;
    }
  }
  
  /* Breadcrumb styles */
  .breadcrumb {
    display: flex;
    align-items: center;
    flex-wrap: wrap;
    gap: 0.5rem;
    margin-bottom: 1rem;
    font-size: 0.875rem;
  }
  
  .breadcrumb a {
    text-decoration: none;
    transition: color 0.2s ease;
  }
  
  .breadcrumb a:hover {
    color: var(--primary-color);
    text-decoration: underline;
  }
  
  .breadcrumb-separator {
    color: var(--text-light);
  }
  
  .sr-only {
    position: absolute;
    width: 1px;
    height: 1px;
    padding: 0;
    margin: -1px;
    overflow: hidden;
    clip: rect(0, 0, 0, 0);
    white-space: nowrap;
    border-width: 0;
  }





  
  /* Estilos do Container Principal */
  .quiz-container {
    display: flex;
    flex-direction: column;
    min-height: 100vh;
    max-width: 1142px;
    margin: auto ;
  }
  
  /* Lado Esquerdo - Informações */
  .quiz-info {
    color: #02333A;
    padding: 3rem;
    display: flex;
    flex-direction: column;
    gap: 50px;
  }

  .quiz-info-card{
    background-color: white;
    margin: auto;
    max-width: 800px;
    display: flex;
    align-items: center;
    flex-direction: column;
  }
  
  /* Lado Direito - Perguntas */
  .quiz-questions {
    background-color: #FFFFFF;
    padding: 3rem;
  }
  
  /* Link para Homepage */
  .home-link {
    display: flex;
    align-items: center;
    color: #007D7A;
    text-decoration: none;
    font-weight: 500;
    margin-bottom: 2rem;
  }
  
  .home-link svg {
    margin-right: 0.5rem;
  }
  
  .home-link svg path {
    stroke: #007D7A;
  }
  
  /* Indicador de Passos */
  .step-indicator {
    color: #02333A;
    font-size: 0.875rem;
    margin-bottom: 1rem;
    opacity: 0.8;
  }
  
  /* Título da Pergunta */
  .question-title {
    color: #024248;
    font-size: 20px;
    font-weight: 600;
    margin-bottom: 0.5rem;
    line-height: 1.2;
  }
  
  .question-subtitle {
    color: #333840;
    font-size: 1.125rem;
    margin-bottom: 2rem;
  }
  
  /* Container da Ilustração */
  .illustration-container {
    margin-top: 2rem;
  }
  
  .illustration {
    max-width: 100%;
    height: auto;
  }
  
  /* Cards de Perguntas */
  .pergunta-card {
    height: 100%;
    padding: 30px;
    display: flex;
    flex-direction: column;
    justify-content: space-between;
    background-color: var(--card-bg);
    border-radius: var(--radius);
    box-shadow: var(--shadow);
    overflow: hidden;
    display: flex;
    flex-direction: column;
    height: 100%;
    transition: var(--transition);
    border: 1px solid rgba(0, 0, 0, 0.03);
    position: relative;
  }
  
  /* Container de Opções */
  .options-container {
    display: grid;
    grid-template-columns: 1fr 1fr;
    flex-direction: column;
    gap: 0.75rem;
    margin-bottom: 2rem;
  }
  
  /* Botões de Opção */
  .option-button {
    display: flex;
    align-items: center;
    padding: 1rem;
    border: 1px solid #E0E0E0;
    border-radius: 8px;
    background-color: white;
    cursor: pointer;
    transition: all 0.2s ease;
  }
  
  .option-button:hover {
    border-color: #02333A;
    background-color: rgba(2, 51, 58, 0.05);
  }
  
  .option-button.selected {
    border-color: #02333A;
    background-color: rgba(2, 51, 58, 0.05);
  }
  
  .option-circle {
    width: 20px;
    height: 20px;
    border: 2px solid #E0E0E0;
    border-radius: 50%;
    margin-right: 1rem;
    transition: all 0.2s ease;
  }
  
  .option-button.selected .option-circle {
    background-color: #02333A;
    border-color: #02333A;
  }
  
  .option-text {
    font-size: 1rem;
  }
  
  /* Botões de Navegação */
  .navigation-buttons {
    display: flex;
    justify-content: space-between;
    margin-top: auto;
  }
  
  .button {
    padding: 0.75rem 1.5rem;
    border-radius: 8px;
    font-weight: 500;
    cursor: pointer;
    transition: all 0.2s ease;
    border: 2px solid;
  }
  
  .button-primary {
    background-color: #02333A;
    color: white;
    border-color: white;
  }
  
  .button-primary:hover {
    background-color: #034854;
  }
  
  .button-primary:disabled {
    background-color: #cccccc;
    color: #666666;
    border-color: #cccccc;
    cursor: not-allowed;
  }
  
  .button-outline {
    color: white;
    border-color: white;
    background-color: transparent;
  }
  
  .button-outline:hover {
    background-color: rgba(255, 255, 255, 0.1);
  }
  
  /* Tela de Resultado */
  .resultado-rotas {
    background-color: #EBEFF5;
    color: white;
    min-height: 100vh;
    padding: 3rem 0;
  }
  
  .container {
    max-width: 1200px;
    margin: 0 auto;
    padding: 0 1rem;
  }
  
  /* Cabeçalho do Resultado */
  .resultado-header {
    margin-bottom: 3rem;
    text-align: center;
    background: #02333A;
    border-radius: 20px;
    padding: 30px;
  }
  
  .resultado-header h1 {
    color: white;
    font-size: 2.5rem;
    margin-bottom: 2rem;
  }
  
  /* Resumo das Respostas */
  .resumo-respostas {
    margin-bottom: 2rem;
  }
  
  .resumo-respostas h3 {
    color: white;
    font-size: 1.25rem;
    margin-bottom: 1rem;
  }
  
  .badges-respostas {
    display: flex;
    flex-wrap: wrap;
    justify-content: center;
    gap: 0.75rem;
    list-style: none;
    padding: 0;
  }
  
  .badges-respostas .badge {
    background-color: rgba(255, 255, 255, 0.2);
    color: white;
    padding: 0.5rem 1rem;
    border-radius: 50px;
    font-size: 0.875rem;
  }
  
  /* Texto do Resultado */
  .texto-resultado {
    margin-bottom: 2rem;
    max-width: 800px;
    margin-left: auto;
    margin-right: auto;
  }
  
  /* Ações do Resultado */
  .acoes-resultado {
    display: flex;
    justify-content: center;
    gap: 1rem;
    margin-bottom: 3rem;
  }
  
  .capsulas-recomendadas h2 {
    margin-bottom: 2rem;
    font-size: 1.75rem;
  }
  
  /* Grid de Cápsulas */
  .capsulas-grid {
    display: grid;
    grid-template-columns: repeat(auto-fill, minmax(300px, 1fr));
    gap: 2rem;
  }
  
  /* Cards de Cápsulas */
  .capsula-card {
    background-color: white;
    border-radius: 10px;
    box-shadow: 0 4px 12px rgba(0, 0, 0, 0.1);
    position: relative;
  }
  
  .capsula-card:hover {
    box-shadow: 0 8px 24px rgba(0, 0, 0, 0.15);
    color: #006969;
    background-color: #EBEFF5;
  }
  
  .capsula-card.obrigatorio {
    border-left: 5px solid #FF5722;
  }
  
  .capsula-card.recomendado {
    border-left: 5px solid #02333A;
  }
  
  /* Badge de Prioridade */
  .badge-prioridade {
    position: absolute;
    top: -10px;
    right: 20px;
    padding: 0.25rem 0.75rem;
    border-radius: 50px;
    font-size: 0.75rem;
    font-weight: 700;
  }
  
  .badge-obrigatorio {
    background-color: #FF5722;
    color: white;
  }
  
  .badge-recomendado {
    color: #02333A;
    border: 2px solid #02333A;
    background-color: rgba(255, 255, 255, 0.9);
  }
  
  /* Título da Cápsula */
  .capsula-card h3 {
    margin-top: 0.5rem;
    margin-bottom: 1rem;
    font-size: 1.25rem;
  }
  
  .capsula-card h3 a {
    color: #02333A;
    text-decoration: none;
  }
  
  .capsula-card h3 a:hover {
    text-decoration: underline;
  }
  
  /* Resumo da Cápsula */
  .capsula-resumo {
    font-size: 0.875rem;
    color: #666;
    margin-bottom: 1rem;
  }
  
  /* Tags da Cápsula */
  .capsula-tags {
    display: flex;
    flex-wrap: wrap;
    gap: 0.5rem;
    margin-bottom: 1.5rem;
  }
  
  .tag {
    background-color: #f0f0f0;
    color: #666;
    padding: 0.25rem 0.75rem;
    border-radius: 50px;
    font-size: 0.75rem;
  }
  
  /* Botão de Ler Cápsula */
  .btn-ler-capsula {
    display: inline-block;
    color: #02333A;
    font-weight: bold;
    text-decoration: none;
    margin-top: auto;
  }
  
  .btn-ler-capsula:hover {
    text-decoration: underline;
  }
  
  /* Mensagem de Sem Resultados */
  .sem-resultados {
    text-align: center;
    padding: 2rem;
    background-color: rgba(255, 255, 255, 0.1);
    border-radius: 8px;
  }
  
  .sem-resultados p {
    margin-bottom: 1.5rem;
    font-size: 1.125rem;
  }
  
  .menu a {
    color: white;
    text-decoration: none;
    font-size: 0.875rem;
    opacity: 0.9;
  }
  
  .menu a:hover {
    opacity: 1;
  }
  
  .separator {
    width: 1px;
    height: 16px;
    background-color: rgba(255, 255, 255, 0.3);
    margin: 0 1rem;
  }
  
  .logo {
    margin-right: 2rem;
  }
  
  /* Responsividade */
  @media (max-width: 992px) {
    .quiz-container {
      flex-direction: column;
    }
    
    .quiz-info, .quiz-questions {
      width: 100%;
    }
    
    .navigation-buttons {
      margin-top: 2rem;
    }
  }
  
  @media (max-width: 768px) {
    .capsulas-grid {
      grid-template-columns: 1fr;
    }
    
    .acoes-resultado {
      flex-direction: column;
    }

    
    .separator {
      display: none;
    }
  }






/* Estilos de ênfase para elementos principais */
.capsulas-hero__title {
    font-size: 2.5rem;
    font-weight: 700;
    margin-bottom: 1.5rem;
    color: white;
    line-height: 1.2;
}


.capsulas-illustration{
    width: 100%;
}

.capsulas-illustration img{
    width: 100%;
}

.capsulas-illustration-card-normas{
    max-width: 200px;
    margin-bottom: 30px ;
}

.capsulas-section-header{
    margin-bottom: 50px;
}

.capsulas-hero__tag {
    display: inline-block;
    padding: 0.5rem 1.5rem;
    background: #fff;
    color: var(--primary, #00a39c);
    font-weight: 600;
    border-radius: 30px;
    margin-bottom: 1.5rem;
    box-shadow: 0 4px 10px rgba(0,0,0,0.1);
}

.capsulas-hero__description {
    font-size: 1.2rem;
    margin-bottom: 2rem;
    line-height: 1.6;
}

.capsulas-hero__cta {
    display: inline-flex;
    align-items: center;
    padding: 0.8rem 2rem;
    background: var(--primary, #00a39c);
    color: white;
    text-decoration: none;
    font-weight: 600;
    border-radius: 30px;
    transition: all 0.3s ease;
    box-shadow: 0 5px 15px rgba(0,0,0,0.1);
}

.capsulas-hero__cta:hover {
    background: #008b84;
    box-shadow: 0 8px 20px rgba(0,0,0,0.15);
}

/* Estilo para os títulos de seção */
.capsulas-section-title-caps {
    font-size: 2rem;
    font-weight: 700;
    color: var(--primary, #00a39c);
    margin-bottom: 1.5rem;
    position: relative;
    display: inline-block;
}

.capsulas-illustration-card img{
    max-width: 100%;
    height: auto;
}

.capsulas-illustration-card-quiz img{
    max-width: 60%;
    margin: auto;
    height: auto;
}

.capsulas-illustration-card-quiz{
    display: flex;
    align-items: center;
}

.capsulas-section-description {
    font-size: 1.1rem;
    color: #666;
    margin-bottom: 2rem;
}

/* Ajustes para o layout de duas colunas */
.capsulas-two-column {
    display: flex;
    gap: 3rem;
    align-items: center;
    margin: 3rem 0;
}

.capsulas-two-column > div {
    flex: 1;
}

/* Estilos para os acordeões */
.capsulas-accordion {
    margin-top: 2rem;
    border-radius: 12px;
    overflow: hidden;
    box-shadow: 0 5px 15px rgba(0,0,0,0.05);
    transition: all 0.3s ease;
    max-height: 60px;
}

.capsulas-accordion.active {
    max-height: 2000px;
}

.capsulas-accordion__header {
    display: flex;
    justify-content: space-between;
    align-items: center;
    padding: 1.2rem 1.5rem;
    background: white;
    cursor: pointer;
    transition: all 0.3s ease;
}

.capsulas-accordion__title {
    display: flex;
    align-items: center;
    font-size: 1.2rem;
    font-weight: 600;
    color: var(--primary, #00a39c);
    margin: 0;
}

.capsulas-accordion__icon {
    display: flex;
    justify-content: center;
    align-items: center;
    width: 40px;
    height: 40px;
    background: var(--primary-light, #e6f7f5);
    border-radius: 50%;
    margin-right: 1rem;
}

.capsulas-accordion__icon i {
    font-size: 1.2rem;
    color: white;
}

.capsulas-accordion__toggle i {
    font-size: 1.2rem;
    color: white;
    transition: all 0.3s ease;
}

.capsulas-accordion.active .capsulas-accordion__toggle i {
    transform: rotate(180deg);
}

.capsulas-accordion__body {
    padding: 0 1.5rem;
    max-height: 0;
    overflow: hidden;
    background: white;
    transition: all 0.3s ease;
}

.capsulas-accordion.active .capsulas-accordion__body {
    padding: 1.5rem;
    max-height: 2000px;
}

/* Fixar o menu de navegação por tabs quando rolar a página */
.capsulas-tab-navigation {
    background: white;
    width: 100%;
    z-index: 1000;
    transition: all 0.3s ease;
}

.fa-ban:before, .fa-cancel:before {
    width: 100%;
}

.capsulas-btn--primary {
    background: var(--primary, #00a39c);
    color: white;
}

.capsulas-btn--primary:hover {
    background: #008b84;
    box-shadow: 0 5px 15px rgba(0,0,0,0.1);
}

.capsulas-btn i {
    margin-left: 0.5rem;
}

/* Estilo para cartões de conteúdo */
.capsulas-content-card {
    background: white;
    border-radius: 12px;
    overflow: hidden;
    box-shadow: 0 5px 15px rgba(0,0,0,0.05);
    transition: all 0.3s ease;
}

.capsulas-content-card:hover {
    box-shadow: 0 10px 20px rgba(0,0,0,0.1);
}

.capsulas-card__body {
    padding: 1.5rem;
}

.capsulas-card__title {
    font-size: 1.3rem;
    font-weight: 600;
    margin-bottom: 1rem;
}

.capsulas-card__text {
    color: #666;
    margin-bottom: 1.5rem;
}




/* ============================================ */
/* Capsulas index */
/* ============================================ */
    
    :root {
        --primary: #0c5a5a;
        --primary-dark: #094444;
        --primary-light: #0f7070;
        --gray-50: #f9fafb;
        --gray-100: #f3f4f6;
        --gray-200: #e5e7eb;
        --gray-300: #d1d5db;
        --gray-400: #9ca3af;
        --gray-500: #6b7280;
        --gray-600: #4b5563;
        --gray-700: #374151;
        --gray-800: #1f2937;
        --gray-900: #111827;
        --blue-50: #eff6ff;
        --blue-100: #dbeafe;
        --blue-200: #bfdbfe;
        --blue-600: #2563eb;
        --red-50: #fef2f2;
        --red-100: #fecaca;
        --red-600: #dc2626;
        --shadow-sm: 0 1px 2px 0 rgba(0, 0, 0, 0.05);
        --shadow-md: 0 4px 6px -1px rgba(0, 0, 0, 0.1);
        --shadow-lg: 0 10px 15px -3px rgba(0, 0, 0, 0.1);
        --shadow-xl: 0 20px 25px -5px rgba(0, 0, 0, 0.1);
        --radius-sm: 6px;
        --radius-md: 8px;
        --radius-lg: 12px;
        --radius-xl: 16px;
    }
    
    /* ============================================ */
    /* LAYOUT PRINCIPAL */
    /* ============================================ */

    .acessibilidade-container-white {
        background: white;
        padding: 20px 0;
    }
    
    .acessibilidade-conteudo-container {
        max-width: 1142px;
        border-top: 2px solid #E0E0E0;
        margin: 0 auto;
        padding-top: 20px;
        display: grid;
        grid-template-columns: 360px 1fr;
        gap: 2.5rem;
        padding-bottom: 30px;
    }
    
    @media (max-width: 968px) {
        .acessibilidade-conteudo-container {
            grid-template-columns: 1fr;
            padding: 1.5rem 1rem;
            gap: 1.5rem;
        }
    }
    
    /* ============================================ */
    /* SIDEBAR DE BUSCA E FILTROS */
    /* ============================================ */
    
    .filtros-lateral {
        position: sticky;
        top: 2rem;
        height: fit-content;
    }
    
    @media (max-width: 968px) {
        .filtros-lateral {
            position: static;
        }
    }
    
    /* Campo de busca modernizado */
    .pesquisa-campo-wrapper {
        position: relative;
        margin-bottom: 1.5rem;
    }
    
    .pesquisa-icone {
        position: absolute;
        left: 1rem;
        top: 50%;
        transform: translateY(-50%);
        color: var(--gray-400);
        width: 20px;
        height: 20px;
        transition: color 0.2s;
    }
    
    .pesquisa-campo {
        width: 100%;
        padding: 1rem 1rem 1rem 3rem;
        border: 2px solid var(--gray-200);
        border-radius: var(--radius-lg);
        font-size: 0.9375rem;
        background: white;
        transition: all 0.2s ease;
        box-shadow: var(--shadow-sm);
    }
    
    .pesquisa-campo:hover {
        border-color: var(--gray-300);
    }
    
    .pesquisa-campo:focus {
        outline: none;
        border-color: var(--primary);
        box-shadow: 0 0 0 3px rgba(12, 90, 90, 0.1);
    }
    
    .pesquisa-campo:focus + .pesquisa-icone {
        color: var(--primary);
    }
    
    /* Container de filtros */
    .opcoes-filtragem {
        overflow: hidden;
    }
    
    .opcoes-filtragem-cabecalho {
        padding: 1.25rem 1.5rem;
        background: linear-gradient(135deg, var(--primary) 0%, var(--primary-light) 100%);
        border: none;
        display: flex;
        justify-content: space-between;
        align-items: center;
        cursor: pointer;
        user-select: none;
        transition: all 0.2s;
        width: 100%;
    }
    
    .opcoes-filtragem-cabecalho:hover {
        background: linear-gradient(135deg, var(--primary-dark) 0%, var(--primary) 100%);
    }
    
    .opcoes-filtragem-titulo {
        display: flex;
        align-items: center;
        gap: 0.625rem;
        font-weight: 600;
        color: white;
        font-size: 1.0625rem;
    }
    
    .filtragem-icone {
        width: 22px;
        height: 22px;
        color: white;
    }
    
    .alternar-icone {
        width: 20px;
        height: 20px;
        color: white;
        transition: transform 0.3s ease;
    }
    
    .opcoes-filtragem-cabecalho[aria-expanded="false"] .alternar-icone {
        transform: rotate(-90deg);
    }
    
    .filtragem-conteudo {
        max-height: 600px;
        overflow-y: auto;
        scrollbar-width: thin;
        scrollbar-color: var(--gray-300) var(--gray-100);
    }
    
    .filtragem-conteudo::-webkit-scrollbar {
        width: 6px;
    }
    
    .filtragem-conteudo::-webkit-scrollbar-track {
        background: var(--gray-100);
        border-radius: 3px;
    }
    
    .filtragem-conteudo::-webkit-scrollbar-thumb {
        background: var(--gray-300);
        border-radius: 3px;
    }
    
    .filtragem-conteudo::-webkit-scrollbar-thumb:hover {
        background: var(--gray-400);
    }
    
    .filtragem-conteudo[hidden] {
        display: none;
    }
    
    /* ============================================ */
    /* DROPDOWN MODERNIZADO */
    /* ============================================ */
    
    .categoria-filtro {
        border: none;
        padding: 0;
        margin: 0 0 1.5rem;
    }
    
    .categoria-filtro:last-child {
        margin-bottom: 0;
    }
    
    .categoria-dropdown {
        border: 1px solid #C8D1E0;
        border-radius: 8px;
        overflow: hidden;
        transition: all 0.2s;
        background: var(--gray-50);
        
    }
    
    .categoria-dropdown:hover {
        border-color: var(--gray-300);
    }
    
    .categoria-dropdown.active {
        
    }
    
    .categoria-cabecalho {
        padding: 0.875rem 1rem;
        background: white;
        border: none;
        display: flex;
        justify-content: space-between;
        align-items: center;
        cursor: pointer;
        user-select: none;
        width: 100%;
        transition: all 0.2s;
    }
    
    .categoria-cabecalho:hover {
        background: var(--gray-50);
    }
    
    .categoria-titulo {
        font-size: 0.9375rem;
        font-weight: 600;
        color: var(--gray-800);
        display: flex;
        align-items: center;
        gap: 0.5rem;
    }
    
    .seta-dropdown {
        width: 16px;
        height: 16px;
        color: var(--gray-500);
        transition: transform 0.3s ease;
    }
    
    .categoria-cabecalho[aria-expanded="true"] .seta-dropdown {
        transform: rotate(180deg);
        color: var(--primary);
    }
    
    .categoria-opcoes {
        max-height: 0;
        overflow: hidden;
        transition: max-height 0.3s ease;
        background: white;
    }
    
    .categoria-opcoes.open {
        max-height: 400px;
        border-top: 1px solid var(--gray-100);
        padding: 0.75rem 0.5rem;
    }
    
    /* Checkbox customizado moderno */
    .selecao-checkbox {
        display: flex;
        align-items: center;
        cursor: pointer;
        padding: 0.5rem 0.75rem;
        border-radius: var(--radius-sm);
        transition: all 0.2s;
        margin: 0.125rem 0;
    }
    
    .selecao-checkbox:hover {
        background: var(--gray-50);
    }
    
    .selecao-checkbox input[type="checkbox"] {
        width: 18px;
        height: 18px;
        cursor: pointer;
        margin-right: 0.75rem;
        flex-shrink: 0;
        accent-color: var(--primary);
        border-radius: 4px;
    }
    
    .texto-checkbox {
        font-size: 0.9375rem;
        color: var(--gray-700);
        transition: color 0.2s;
    }
    
    .selecao-checkbox:hover .texto-checkbox {
        color: var(--primary);
    }
    
    .selecao-checkbox input[type="checkbox"]:checked + .texto-checkbox {
        font-weight: 500;
        color: var(--primary);
    }
    
    /* Badge de contagem */
    .contador-badge {
        display: inline-flex;
        align-items: center;
        justify-content: center;
        min-width: 20px;
        height: 20px;
        padding: 0 0.375rem;
        background: var(--primary);
        color: white;
        border-radius: 10px;
        font-size: 0.6875rem;
        font-weight: 600;
        margin-left: auto;
    }
    
    /* ============================================ */
    /* ÁREA DE RESULTADOS */
    /* ============================================ */
    
    .conteudo-principal {
        min-width: 0;
    }
    
    .conteudo-cabecalho {
        display: flex;
        justify-content: space-between;
        align-items: center;
        margin-bottom: 2rem;
        padding: 10px;
    }
    
    @media (max-width: 640px) {
        .conteudo-cabecalho {
            flex-direction: column;
            gap: 1rem;
            align-items: flex-start;
        }
    }
    
    .conteudo-contador {
        font-size: 1.25rem;
        font-weight: 700;
        color: var(--gray-800);
        display: flex;
        align-items: center;
        gap: 0.5rem;
    }
    
    .conteudo-contador::before {
        content: '';
        width: 4px;
        height: 24px;
        background: linear-gradient(180deg, var(--primary) 0%, var(--primary-light) 100%);
        border-radius: 2px;
    }
    
    .conteudo-ordenacao {
        display: flex;
        align-items: center;
        gap: 0.625rem;
    }
    
    .ordenacao-texto {
        font-size: 0.875rem;
        color: var(--gray-600);
        font-weight: 500;
    }
    
    .ordenacao-select {
        padding: 0.625rem 2.25rem 0.625rem 0.875rem;
        border: 2px solid var(--gray-200);
        border-radius: var(--radius-md);
        font-size: 0.9375rem;
        background: white;
        cursor: pointer;
        appearance: none;
        background-image: url("data:image/svg+xml,%3Csvg width='12' height='8' viewBox='0 0 12 8' fill='none' xmlns='http://www.w3.org/2000/svg'%3E%3Cpath d='M1 1.5L6 6.5L11 1.5' stroke='%230c5a5a' stroke-width='2' stroke-linecap='round' stroke-linejoin='round'/%3E%3C/svg%3E");
        background-repeat: no-repeat;
        background-position: right 0.75rem center;
        transition: all 0.2s;
        font-weight: 500;
    }
    
    .ordenacao-select:hover {
        border-color: var(--gray-300);
    }
    
    .ordenacao-select:focus {
        outline: none;
        border-color: var(--primary);
        box-shadow: 0 0 0 3px rgba(12, 90, 90, 0.1);
    }
    
    /* ============================================ */
    /* GRID DE CÁPSULAS MODERNIZADO */
    /* ============================================ */
    
    .recursos-grid {
        display: grid;
        grid-template-columns: repeat(auto-fill, minmax(340px, 1fr));
        gap: 1.75rem;
    }
    
    @media (max-width: 768px) {
        .recursos-grid {
            grid-template-columns: 1fr;
        }
    }

    .recurso-card-link{
    height: 100%;
    display: flex;
    flex-direction: column;
    justify-content: space-between;
    }
    
    .recurso-card {
        background: white;
        border: 1px solid #C8D1E0;
        border-radius: 20px;
        padding: 2rem;
        display: flex;
        flex-direction: column;
        position: relative;
        overflow: hidden;
    }
    
    
    .recurso-card:hover {
        color: #006969;
        background-color: #EBEFF5;
    }
    
    .recurso-card:hover::before {
        transform: scaleX(1);
    }
    
    .recurso-card-icone {
        width: 56px;
        height: 56px;
        background: #025257;
        border-radius: 10px;
        display: flex;
        align-items: center;
        justify-content: center;
        margin-bottom: 1.25rem;
        flex-shrink: 0;
        box-shadow: 0 4px 12px rgba(12, 90, 90, 0.2);
    }
    
    .recurso-card-icone svg {
        width: 28px;
        height: 28px;
        color: white;
    }
    
    .recurso-card-titulo {
        font-size: 18px;
        font-weight: 700;
        color: #434A54;
        margin-bottom: 0.875rem;
        line-height: 1.4;
        margin: 0;
    }
    
    .recurso-card-titulo a {
        color: inherit;
        text-decoration: none;
        transition: color 0.2s;
    }
    
    .recurso-card-titulo a:hover {
        color: var(--primary);
    }
    
    .recurso-card-descricao {
        font-size: 16px;
        color: #434A54;
        line-height: 1.7;
        margin-bottom: 1.5rem;
        flex-grow: 1;
    }
    
    /* Tags de deficiência */
    .recurso-tags-categoria {
        display: flex;
        flex-wrap: wrap;
        gap: 0.5rem;
        margin-bottom: 1rem;
    }
    
    .tag-categoria {
        display: inline-flex;
        align-items: center;
        gap: 0.375rem;
        padding: 0.375rem 0.75rem;
        background: linear-gradient(135deg, #f0f9ff 0%, #e0f2fe 100%);
        border: 1px solid #bae6fd;
        border-radius: var(--radius-xl);
        font-size: 0.8125rem;
        color: var(--primary);
        font-weight: 500;
    }
    
    .tag-categoria-icone {
        width: 14px;
        height: 14px;
        flex-shrink: 0;
    }
    
    /* Badge de prioridade */
    .recurso-badge {
        display: inline-flex;
        align-items: center;
        gap: 0.375rem;
        padding: 0.375rem 0.875rem;
        border-radius: 24px;
        font-size: 0.8125rem;
        font-weight: 700;
        margin-bottom: 1rem;
        width: fit-content;
        letter-spacing: 0.5px;
    }
    
    .recurso-badge-obrigatorio {
        background: #FCF0F1;
        color: #DF3E63;
        border: 1px solid #DF3E63;
    }
    
    .recurso-badge-recomendado {
        background: #E6EFFA;
        color: #155BCB;
        border: 1px solid #155BCB;
    }
    
    .badge-icone {
        width: 14px;
        height: 14px;
    }
    
    /* Tags de recurso */
    .recurso-tags-tipo {
        display: flex;
        flex-wrap: wrap;
        gap: 0.5rem;
        margin-bottom: 1.5rem;
        padding-top: 1.25rem;
        border-top: 2px solid var(--gray-100);
    }
    
    .tag-tipo {
        display: inline-flex;
        align-items: center;
        gap: 0.375rem;
        padding: 0.375rem 0.75rem;
        background: var(--gray-100);
        border-radius: var(--radius-sm);
        font-size: 0.8125rem;
        color: var(--gray-700);
        font-weight: 500;
        transition: all 0.2s;
    }
    
    .tag-tipo:hover {
        background: var(--gray-200);
    }
    
    .tag-tipo-icone {
        width: 14px;
        height: 14px;
    }
    
    /* Botão de ação modernizado */
    .recurso-card-botao {
        padding: 0.875rem 1.5rem;
        background: #007D7A;
        color: white;
        border: none;
        border-radius: 32px;
        font-weight: 700;
        font-size: 0.9375rem;
        cursor: pointer;
        transition: all 0.3s ease;
        text-align: center;
        text-decoration: none;
        display: block;
        box-shadow: 0 4px 12px rgba(12, 90, 90, 0.2);
        position: relative;
        overflow: hidden;
    }

    .card-rota {
        background-color: var(--cor-fundo);
        border-radius: var(--borda-raio-grande);
        box-shadow: var(--sombra-suave);
        overflow: hidden;
        transition: var(--transicao-media);
        border: 1px solid rgba(0, 0, 0, 0.05);
        margin-bottom: var(--espacamento-grande);
    }
    
    .recurso-card-botao::before {
        content: '';
        position: absolute;
        top: 0;
        left: -100%;
        width: 100%;
        height: 100%;
        background: linear-gradient(90deg, transparent, rgba(255,255,255,0.2), transparent);
        transition: left 0.5s;
    }
    
    .recurso-card-botao:hover {
        background: #006969;
        color: white;
        box-shadow: 0 6px 16px rgba(12, 90, 90, 0.3);
    }
    
    .recurso-card-botao:hover::before {
        left: 100%;
    }

    
    .recurso-card-botao:focus {
        outline: none;
        box-shadow: 0 0 0 3px rgba(12, 90, 90, 0.2), 0 6px 16px rgba(12, 90, 90, 0.3);
    }
    
    /* Estado vazio */
    .conteudo-vazio {
        text-align: center;
        padding: 5rem 2rem;
        background: white;
        border-radius: var(--radius-xl);
        border: 2px dashed var(--gray-300);
    }
    
    .conteudo-vazio-icone {
        width: 80px;
        height: 80px;
        margin: 0 auto 1.5rem;
        color: var(--gray-300);
    }
    
    .conteudo-vazio h2 {
        font-size: 1.75rem;
        color: var(--gray-800);
        margin-bottom: 0.75rem;
        font-weight: 700;
    }
    
    .conteudo-vazio p {
        color: var(--gray-600);
        font-size: 1.0625rem;
    }
    
    .conteudo-vazio a {
        color: var(--primary);
        font-weight: 700;
        text-decoration: none;
        transition: color 0.2s;
    }
    
    .conteudo-vazio a:hover {
        color: var(--primary-dark);
        text-decoration: underline;
    }


/* ============================================ */
/* Capsulas index */
/* ============================================ */

:root {
    --primary: #02333A;
    --primary-light: #006969;
    --primary-dark: #024248;
    --secondary: #FFC75F;
    --accent: #FC404D;
    --dark: #333333;
    --light: #FFFFFF;
    --gray-100: #F5F7FA;
    --gray-200: #EBEFF5;
    --gray-300: #DEE3ED;
    --gray-400: #C8D1E0;
    --green: #024248;
    --button-color: #007D7A; 
    --tab-active: #024248; 
}

/* Classe para elementos visíveis apenas para leitores de tela */
.sr-only {
    position: absolute;
    width: 1px;
    height: 1px;
    padding: 0;
    margin: -1px;
    overflow: hidden;
    clip: rect(0, 0, 0, 0);
    white-space: nowrap;
    border-width: 0;
}

body {
    background-color: var(--light);
    color: var(--dark);
    line-height: 1.8;
    overflow-x: hidden;
}

/* Links com melhor acessibilidade */
a {
    text-decoration: underline; /* Tornar links mais distinguíveis */
    color: var(--primary);
    transition: color 0.3s ease;
}

a:hover, a:focus {
    text-decoration: none;
    color: var(--primary-dark);
}

.capsulas-container {
    max-width: 1142px;
    margin: 0 auto;
    padding: 0 1.5rem;
    width: 100%;
}

/* Header */
header {
    background-color: var(--light);
    padding: 1rem 0;
    border-bottom: 1px solid var(--gray-200);
    box-shadow: 0 2px 10px rgba(0, 0, 0, 0.03);
}

.capsulas-header-container {
    display: flex;
    justify-content: space-between;
    align-items: center;
}

.capsulas-logo {
    font-size: 1.5rem;
    font-weight: 700;
    color: var(--primary);
    display: flex;
    align-items: center;
}

.capsulas-logo i {
    margin-right: 0.5rem;
    color: var(--primary);
}

nav ul {
    display: flex;
    list-style: none;
    gap: 2.5rem;
}

nav a {
    text-decoration: none;
    color: var(--dark);
    font-weight: 500;
    font-size: 1rem; /* Aumentado para melhor legibilidade */
    transition: all 0.3s ease;
    padding: 0.5rem 0;
    white-space: nowrap;
}

nav a:hover, nav a:focus {
    color: var(--primary);
    text-decoration: underline;
}

/* Hero Section */
.capsulas-hero {
    position: relative;
    height: 70vh;
    min-height: 500px;
    overflow: hidden;
    display: flex;
    align-items: center;
    justify-content: center;
    background-color: #000;
}

.capsulas-hero__image {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    object-fit: cover;
    opacity: 0.7;
}

.capsulas-hero__content {
    position: relative;
    z-index: 1;
    text-align: center;
    color: var(--light);
    max-width: 800px;
    padding: 0 2rem;
}

.capsulas-hero__tag {
    display: inline-block;
    background-color: rgba(255, 255, 255, 0.2);
    backdrop-filter: blur(5px);
    color: var(--light);
    padding: 0.5rem 1.5rem;
    border-radius: 50px;
    font-size: 1rem; /* Aumentado para melhor legibilidade */
    font-weight: 600;
    margin-bottom: 1.5rem;
    border: 1px solid rgba(255, 255, 255, 0.3);
}

.capsulas-hero__description {
    font-size: 1.2rem;
    margin-bottom: 2rem;
    opacity: 0.9;
    max-width: 700px;
    margin-left: auto;
    margin-right: auto;
}

.capsulas-hero__cta {
    display: inline-block;
    background-color: var(--button-color); /* Cor ajustada para melhor contraste */
    color: var(--light);
    text-decoration: none;
    padding: 0.8rem 2rem;
    border-radius: 50px;
    font-weight: 600;
    transition: all 0.3s ease;
    border: 2px solid transparent;
    min-height: 44px; /* Área de toque mínima */
    font-size: 1rem; /* Aumentado para melhor legibilidade */
    line-height: normal;
}

.capsulas-hero__cta:hover, .capsulas-hero__cta:focus {
    background-color: #006969;
    color: white;
}

/* Floating Tab Navigation */
.capsulas-tab-navigation {
    background-color: var(--light);
    border-radius: 50px;
    box-shadow: 0 5px 20px rgba(0, 0, 0, 0.1);
    margin-top: -30px;
    position: relative;
    z-index: 10;
    padding: 10px;
    transition: all 0.3s ease;
    max-width: 1000px;
    margin-left: auto;
    margin-right: auto;
}

.capsulas-tab-navigation.fixed {
    position: fixed;
    bottom: 0px;
    left: 50%;
    transform: translateX(-50%);
    width: 90%;
    max-width: 900px;
    z-index: 999;
    animation: slideDown 0.3s ease-in-out;
}

@keyframes slideDown {
    from { transform: translateY(-20px) translateX(-50%); opacity: 0; }
    to { transform: translateY(0) translateX(-50%); opacity: 1; }
}

.capsulas-tabs-container {
    display: flex;
    justify-content: space-between;
    align-items: center;
}

.capsulas-tabs-scroll {
    display: flex;
    overflow-x: auto;
    scrollbar-width: none;
    -ms-overflow-style: none;
    padding-bottom: 5px;
    flex-grow: 1;
}

.capsulas-tabs-scroll::-webkit-scrollbar {
    display: none;
}

.capsulas-tabs {
    display: flex;
    list-style: none;
    gap: 1rem;
    margin: 0;
}

.capsulas-tab-item {
    padding: 0.8rem 1.2rem; /* Aumentado para área de toque adequada */
    background-color: transparent;
    color: var(--dark);
    border: 1px solid transparent;
    border-radius: 50px;
    font-size: 1rem; /* Aumentado para melhor legibilidade */
    font-weight: 500;
    cursor: pointer;
    transition: all 0.3s ease;
    white-space: nowrap;
    min-height: 44px; /* Área de toque mínima */
    min-width: 44px;
}

.capsulas-tab-item:hover {
    background-color: var(--button-color);
    color: var(--light);
}

.capsulas-tab-item:focus-visible {
    outline: 3px solid var(--focus-color);
    outline-offset: 2px;
}



.capsulas-tab-arrow {
    width: 44px; /* Aumentado para área de toque adequada */
    height: 44px; /* Aumentado para área de toque adequada */
    min-width: 44px;
    min-height: 44px;
    border-radius: 50%;
    background-color: white;
    border: 3px solid #007D7A;
    color: #007D7A;
    border: none;
    display: flex;
    align-items: center;
    justify-content: center;
    cursor: pointer;
    flex-shrink: 0;
}

.capsulas-tab-arrow:hover, .capsulas-tab-arrow:focus {
    background-color: var(--primary);
    color: var(--light);
}

.capsulas-tab-arrow:focus-visible {
    outline: 3px solid var(--focus-color);
    outline-offset: 2px;
}

.capsulas-tab-arrow.capsulas-tab-arrow--prev {
    margin-right: 0.5rem;
}

.capsulas-tab-arrow.capsulas-tab-arrow--next {
    margin-left: 0.5rem;
}


/* Content Sections */
.capsulas-content-section {
    padding: 3rem 0;
    position: relative;
}

.bg_dark_green100{
    background-color: #02333A;
    color: white;
    padding: 30px 0;
}

.capsulas-hero-footer{
    padding: 90px 0;
}

.bg_gray10{
    background-color: #F5F7FA;
    color: #333333;
    padding: 90px 0;
}

.bg_gray20{
    background-color: #EBEFF5;
    color: #333333;
    padding: 90px 0;
}

.bg_gray30{
    background-color: #DEE3ED;
    color: #333333;
    padding: 90px 0;
}

.bg_dark{
    background-color: #DEE3ED;
    color: #024248;
    padding: 30px 0;
}

.capsulas-section-header {
    position: relative;
}

.capsulas-section-header.capsulas-section-header--center {
    text-align: center;
}

.capsulas-section-title-caps-dark {
    font-size: 2.2rem;
    color: #024248;
    margin-bottom: 1rem;
    position: relative;
    display: inline-block;
}

.capsulas-section-title-caps-white {
    font-size: 2.2rem;
    color: white;
    margin-bottom: 1rem;
    position: relative;
    display: inline-block;
}

.capsulas-section-description {
    font-size: 1.1rem;
    color: var(--dark);
    max-width: 800px;
}

/* Two Column Layout */
.capsulas-two-column {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 3rem;
    align-items: center;
}

/* Image Card */
.capsulas-image-card {
    border-radius: 20px;
    overflow: hidden;
    box-shadow: 0 5px 20px rgba(0, 0, 0, 0.1);
    transition: all 0.3s ease;
    height: 380px;
}

.capsulas-image-card:hover {
    transform: translateY(-5px);
    box-shadow: 0 10px 30px rgba(0, 0, 0, 0.15);
}

.capsulas-image-card img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    object-position: top;
}

.white{
    color: white;
}

/* Content Cards */
.capsulas-cards-grid {
    display: grid;
    grid-template-columns: 1fr 1fr 1fr;
    gap: 2rem;
    margin-top: 2rem;
}

.capsulas-content-card {
    background-color: var(--light);
    border-radius: 12px;
    overflow: hidden;
    box-shadow: 0 5px 15px rgba(0, 0, 0, 0.05);
    transition: all 0.3s ease;
    height: 100%;
}

.capsulas-content-card:hover {
    transform: translateY(-5px);
    box-shadow: 0 10px 25px rgba(0, 0, 0, 0.1);
}

.capsulas-content-card:focus-within {
    box-shadow: 0 0 0 3px var(--focus-color);
}

.capsulas-card__image {
    width: 100%;
    height: 200px;
    object-fit: cover;
}

.capsulas-card__body {
    padding: 1.5rem;
}

.capsulas-card__title {
    font-size: 1.3rem;
    font-weight: 600;
    margin-bottom: 1rem;
    color: var(--primary);
}

.capsulas-card__text {
    margin-bottom: 1.5rem;
    color: var(--dark);
}

/* Button Styles */
.capsulas-btn {
    display: inline-flex;
    align-items: center;
    gap: 0.5rem;
    padding: 0.8rem 1.5rem; /* Aumentado para área de toque adequada */
    border-radius: 50px;
    font-weight: 600;
    font-size: 1rem; /* Aumentado para melhor legibilidade */
    text-decoration: none;
    cursor: pointer;
    border: 2px solid transparent;
    min-height: 44px; /* Área de toque mínima */
    min-width: 44px;
}

.capsulas-btn.capsulas-btn--primary {
    background-color: var(--button-color); /* Cor ajustada para melhor contraste */
    color: var(--light);
}

.capsulas-btn.capsulas-btn--primary:hover, 
.capsulas-btn.capsulas-btn--primary:focus {
    background-color: var(--primary-dark);
}

.capsulas-btn:focus-visible {
    outline: 3px solid var(--focus-color);
    outline-offset: 2px;
}

.capsulas-btn i {
    transition: transform 0.3s ease;
}

.capsulas-btn:hover i, .capsulas-btn:focus i {
    transform: translateX(3px);
}

/* Accordion Styles */
.capsulas-accordion {
    margin-top: 2rem;
    border-radius: 12px;
    overflow: hidden;
    background-color: var(--light);
    box-shadow: 0 5px 15px rgba(0, 0, 0, 0.05);
    max-height: 0;
    opacity: 0;
    transition: max-height 0.4s ease-in-out, opacity 0.3s ease-in-out;
}

.capsulas-accordion.active {
    max-height: 3000px;
    opacity: 1;
}

.capsulas-accordion__header {
    padding: 1.5rem;
    background-color: var(--light);
    display: flex;
    justify-content: space-between;
    align-items: center;
    cursor: pointer;
    transition: all 0.3s ease;
    border-bottom: 1px solid var(--gray-200);
    min-height: 44px; /* Área de toque mínima */
}

.capsulas-accordion__header:hover {
    background-color: var(--gray-100);
}

.capsulas-accordion__header:focus-visible {
    outline: 3px solid var(--focus-color);
    outline-offset: 2px;
    background-color: var(--primary-light);
}

.capsulas-accordion__title {
    font-size: 24px;
    font-weight: 600;
    color: var(--primary);
    display: flex;
    align-items: center;
    gap: 1rem;
}

.capsulas-accordion__icon {
    width: 36px;
    height: 36px;
    border-radius: 50%;
    background-color: var(--primary-light);
    display: flex;
    align-items: center;
    justify-content: center;
    color: var(--primary);
    font-size: 1rem;
}

.capsulas-accordion__toggle {
    width: 44px; /* Aumentado para área de toque adequada */
    height: 44px; /* Aumentado para área de toque adequada */
    min-width: 44px;
    min-height: 44px;
    border-radius: 50%;
    background-color: var(--gray-200);
    display: flex;
    align-items: center;
    justify-content: center;
    color: var(--dark);
    transition: all 0.3s ease;
}

.capsulas-accordion.active .capsulas-accordion__toggle {
    background-color: var(--primary);
    color: var(--light);
    transform: rotate(180deg);
}

.capsulas-accordion__body {
    padding: 1.5rem;
    background-color: var(--light);
    color: var(--dark);
}

.capsulas-accordion__body a:focus-visible,
.capsulas-accordion__body button:focus-visible {
    outline: 3px solid var(--focus-color);
    outline-offset: 2px;
}

/* Suporte para casos sem JavaScript */
.no-js .capsulas-accordion,
.no-js .capsulas-accordion__body {
    max-height: none !important;
    opacity: 1 !important;
}

.no-js .capsulas-content-section {
    display: block !important;
}

/* Suporte para Alto Contraste */
@media (forced-colors: active) {
    .capsulas-btn,
    .capsulas-tab-item,
    .capsulas-hero__cta {
        border: 1px solid currentColor;
    }
    
    .capsulas-tab-item.capsulas-tab-item--active {
        border: 2px solid currentColor;
    }
}

/* Suporte para Preferência de Movimento Reduzido */
@media (prefers-reduced-motion: reduce) {
    * {
        transition-duration: 0.01ms !important;
        animation-duration: 0.01ms !important;
        animation-iteration-count: 1 !important;
        scroll-behavior: auto !important;
    }
    
    .capsulas-accordion {
        transition: none !important;
    }
    
    .capsulas-tab-navigation.fixed {
        animation: none !important;
    }
}

/* Responsive */
@media (max-width: 768px) {
    .capsulas-two-column {
        grid-template-columns: 1fr;
        gap: 2rem;
    }

    .capsulas-hero__title {
        font-size: 2.3rem;
    }

    .capsulas-tab-navigation {
        padding: 0.5rem 0.8rem;
    }

    .capsulas-section-title-caps {
        font-size: 1.8rem;
    }
}

@media (max-width: 576px) {
    .capsulas-hero__title {
        font-size: 2rem;
    }

    .capsulas-tab-navigation.fixed {
        width: 95%;
    }
}

@media (max-width: 480px) {
    .capsulas-tab-item {
        padding: 0.5rem 0.8rem;
        font-size: 0.95rem; /* Ligeiramente menor, mas mantendo legibilidade */
    }
    
    .capsulas-hero {
        min-height: 400px; /* Reduzir altura mínima */
    }
    
    .capsulas-hero__title {
        font-size: 1.8rem; /* Reduzir tamanho do título */
    }
    
    .capsulas-section-title-caps {
        font-size: 1.5rem; /* Reduzir tamanhos de títulos */
    }
    
    /* Garantir tamanho mínimo para controles touch */
    .capsulas-tab-arrow,
    .capsulas-accordion__toggle,
    .capsulas-btn,
    .capsulas-hero__cta,
    .capsulas-tab-item {
        min-width: 44px;
        min-height: 44px;
    }
}



/* Estilo para aba ativa */
.capsulas-tab-item--active {
    color: var(--primary, #071d41);
    font-weight: 600;
}

.capsulas-tab-item--active::after {
    content: '';
    position: absolute;
    bottom: 0;
    left: 0;
    width: 100%;
    height: 3px;
    background-color: var(--primary, #071d41);
    border-radius: 3px 3px 0 0;
    transition: all 0.3s ease;
}

.capsulas-tab-item:hover::after {
    content: '';
    position: absolute;
    bottom: 0;
    left: 0;
    width: 100%;
    height: 2px;
    background-color: var(--primary-light, #2670e8);
    border-radius: 3px 3px 0 0;
    opacity: 0.7;
}

/* Adicionar estilos para melhorar o comportamento da navegação por abas */
.capsulas-tabs-container {
    position: relative;
    width: 100%;
    overflow: hidden;
}

.capsulas-tabs-scroll {
    width: 100%;
    overflow-x: auto;
    scrollbar-width: none; /* Firefox */
    -ms-overflow-style: none; /* IE and Edge */
    padding: 0 10px;
}

/* Esconder scrollbar para Chrome, Safari e Opera */
.capsulas-tabs-scroll::-webkit-scrollbar {
    display: none;
}

.capsulas-tabs {
    display: flex;
    list-style: none;
    padding: 0;
    margin: 0;
    white-space: nowrap;
}

.capsulas-tab-item {
    display: inline-block;
    white-space: nowrap;
    margin: 0 5px;
    padding: 10px 15px;
    cursor: pointer;
    border: none;
    background: transparent;
    position: relative;
    font-weight: 500;
    transition: all 0.3s ease;
}

.capsulas-tab-arrow {
    position: absolute;
    top: 50%;
    transform: translateY(-50%);
    width: 40px;
    height: 40px;
    border-radius: 50%;
    background-color: var(--primary, #071d41);
    color: white;
    border: none;
    display: flex;
    align-items: center;
    justify-content: center;
    cursor: pointer;
    z-index: 10;
    transition: all 0.3s ease;
    box-shadow: 0 2px 4px rgba(0,0,0,0.2);
}

.capsulas-tab-arrow--prev {
    left: 5px;
}

.capsulas-tab-arrow--next {
    right: 5px;
}

.capsulas-tab-arrow:hover {
    background-color: var(--primary-dark, #050e1f);
}

.capsulas-tab-arrow:focus {
    outline: 2px solid var(--primary-light, #2670e8);
    outline-offset: 2px;
}

@media (max-width: 768px) {
    .capsulas-tab-item {
        padding: 8px 10px;
        font-size: 0.9rem;
    }
    
    .capsulas-tab-arrow {
        width: 32px;
        height: 32px;
    }
}







/* ============================================
   LAYOUT GERAL - Estilo W3C/WCAG
   ============================================ */

   .wrapper-capsulas-page {
    font-size: 16px;
    line-height: 1.6;
    color: #333;
    background-color: #fff;
}

/* ============================================
   BREADCRUMB E NAVEGAÇÃO SUPERIOR
   ============================================ */

.capsulas-header-bar {
    background-color: #f8f9fa;
    border-bottom: 1px solid #dee2e6;
    padding: 1rem 0;
}

.capsulas-breadcrumb {
    display: flex;
    align-items: center;
    gap: 0.5rem;
    font-size: 0.9rem;
}

.capsulas-back-btn {
    display: inline-flex;
    align-items: center;
    gap: 0.5rem;
    color: #006969;
    text-decoration: none;
    padding: 0.25rem 0.5rem;
    border-radius: 4px;
    transition: background-color 0.2s;
}

.capsulas-back-btn:hover {
    background-color: #e9ecef;
    text-decoration: underline;
}

.capsulas-back-btn i {
    font-size: 0.85rem;
}

.capsulas-separator {
    color: #6c757d;
}

.capsulas-current {
    color: #495057;
    font-weight: 700;
}

/* ============================================
   LAYOUT PRINCIPAL: SIDEBAR + CONTEÚDO
   ============================================ */

.capsulas-layout {
    display: grid;
    grid-template-columns: 250px 1fr;
    gap: 2rem;
    max-width: 1200px;
    margin: 0 auto;
    padding: 2rem 1rem;
    position: relative;
}

@media (max-width: 992px) {
    .capsulas-layout {
        grid-template-columns: 200px 1fr;
        gap: 1.5rem;
    }

    .wrapper-capsulas-page {
      padding: 90px 0;
  }
}

@media (max-width: 768px) {
    .capsulas-layout {
        grid-template-columns: 1fr;
    }
    
    .capsulas-sidebar {
        position: fixed;
        width: 100%;
        border-right: none;
        border-bottom: 1px solid #dee2e6;
        padding-bottom: 1rem;
        margin-bottom: 1rem;
        top: 90vh;
        background-color: white;
    }
}

/* ============================================
   SIDEBAR COM ÍNDICE FIXO
   ============================================ */

   .capsulas-sidebar {
    position: relative;
    top: 1rem;
    height: fit-content;
    border-right: 1px solid #dee2e6;
    padding-right: 1.5rem;
}

.capsulas-sidebar-content {
    padding: 0;
    position: sticky;
    top: 250px;
    max-height: 100vh;
    overflow-y: auto;
}

.capsulas-sidebar-title {
    font-size: 1rem;
    font-weight: 600;
    color: #495057;
    margin: 0 0 1rem 0;
    text-transform: uppercase;
    letter-spacing: 0.5px;
}

.capsulas-index ul {
    list-style: none;
    padding: 0;
    margin: 0;
    display: flex;
    flex-direction: column;
    gap: 5px;
}

.capsulas-index li {
  padding-left: 0;
}

.capsulas-index-link {
    display: block;
    padding: 0.5rem 0.75rem;
    color: #007D7A;
    font-weight: 600;
    text-decoration: none;
    border-left: 3px solid transparent;
    font-size: 0.95rem;
    transition: all 0.2s;
}

.capsulas-index-link:hover {
    background-color: #f8f9fa;
    border-left-color: #006969;
    padding-left: 1rem;
}

.capsulas-index-link.active {
    background-color: #024248;
    font-weight: 600;
    color: white;
    border-radius: 0 20px 20px 0;
    border-left: none;
}

/* ============================================
   CONTEÚDO PRINCIPAL
   ============================================ */

.capsulas-main-content {
    max-width: 800px;
}

/* Cabeçalho da página */
.capsulas-page-header {
    margin-bottom: 2rem;
    padding-bottom: 1.5rem;
    border-bottom: 2px solid #dee2e6;
}

.capsulas-priority-badge {
    display: inline-block;
    padding: 0.25rem 0.75rem;
    font-size: 0.85rem;
    font-weight: 600;
    text-transform: uppercase;
    background-color: #d1ecf1;
    color: #0c5460;
    border-radius: 4px;
    margin-bottom: 1rem;
}

.capsulas-page-header h1 {
    font-size: 2rem;
    font-weight: 700;
    color: #212529;
    margin: 0.5rem 0;
    line-height: 1.2;
}

.capsulas-summary {
    font-size: 1.1rem;
    color: #495057;
    margin: 1rem 0 0 0;
    line-height: 1.6;
}

/* ============================================
   SEÇÕES DE CONTEÚDO
   ============================================ */

.capsulas-section {
    margin-bottom: 3rem;
    padding-bottom: 2rem;
    border-bottom: 1px solid #e9ecef;
    scroll-margin-top: 90px;
}

section {
  scroll-margin-top: 90px;
}

.capsulas-section:last-child {
    border-bottom: none;
}

.capsulas-section h2 {
    font-size: 1.75rem;
    font-weight: 600;
    color: #024248;
    margin: 0 0 1rem 0;
    padding-bottom: 0.5rem;
}

.capsulas-section-content {
    font-size: 1rem;
    line-height: 1.7;
    color: #333;
}

.header-bg{
    background-color: #F5F7FA;
   
}

.capsulas-section-content p {
    font-size: 20px;
    color: #3E4C59;
}

.capsulas-section-content ul,
.capsulas-section-content ol {
    margin: 1rem 15px;
    font-size: 20px;
    color: #3E4C59;
}

.capsulas-section-content li {
    margin-bottom: 0.5rem;
    font-size: 20px;
    color: #3E4C59;
}

.capsulas-section-content a {
    text-decoration: underline;
}

.capsulas-section-content a:hover {
    color: #006969;
}

.capsulas-section-content code {
    background-color: #f8f9fa;
    padding: 0.2rem 0.4rem;
    border-radius: 3px;
    font-size: 16px;
    color: #e83e8c;
}

.capsulas-section-content pre {
    background-color: #f8f9fa;
    border: 1px solid #dee2e6;
    border-radius: 4px;
    padding: 1rem;
    overflow-x: auto;
    margin: 1rem 0;
}

.capsulas-section-content pre code {
    background: none;
    padding: 0;
    color: #212529;
}

/* ============================================
   DETAILS/ACCORDION (Nativo HTML)
   ============================================ */

.capsulas-details {
    margin: 1.5rem 0;
    border: 1px solid #dee2e6;
    border-radius: 10px;
    background-color: #f8f9fa;
}

.capsulas-details summary {
    padding: 1rem;
    font-weight: 600;
    cursor: pointer;
    user-select: none;
    list-style: none;
    color: #007D7A;
    transition: background-color 0.2s;
}

.capsulas-details summary::-webkit-details-marker {
    display: none;
}

.capsulas-details summary::before {
    content: "▶ ";
    display: inline-block;
    margin-right: 0.5rem;
    transition: transform 0.2s;
}

.capsulas-details[open] summary::before {
    transform: rotate(90deg);
}

.capsulas-details summary:hover {
    background-color: #e9ecef;
}

.capsulas-details-content {
    padding: 1rem;
    background-color: #fff;
    border-top: 1px solid #dee2e6;
}

/* ============================================
   LISTA DE CÁPSULAS RELACIONADAS
   ============================================ */

.capsulas-related-list {
    list-style: none;
    padding: 0;
    margin: 0;
}

.capsulas-related-list li {
    margin-bottom: 1.5rem;
    padding: 1rem;
    background-color: #f8f9fa;
    border-left: 4px solid #007D7A;
    border-radius: 4px;
}

.capsulas-related-list a {
    font-size: 1.1rem;
    font-weight: 600;
    color: #007D7A;
    text-decoration: none;
}

.capsulas-related-list a:hover {
    text-decoration: underline;
}

.capsulas-related-list p {
    margin: 0.5rem 0 0 0;
    color: #495057;
    font-size: 0.95rem;
}

/* ============================================
   BOTÃO VOLTAR AO TOPO
   ============================================ */

.capsulas-back-to-top {
    position: fixed;
    bottom: 2rem;
    right: 2rem;
    width: 50px;
    height: 50px;
    background-color: #0056b3;
    color: #fff;
    border: none;
    border-radius: 50%;
    font-size: 1.2rem;
    cursor: pointer;
    opacity: 0;
    visibility: hidden;
    transition: all 0.3s ease;
    box-shadow: 0 4px 12px rgba(0, 0, 0, 0.15);
    z-index: 1000;
}

.capsulas-back-to-top:hover {
    background-color: #004085;
    transform: translateY(-3px);
    box-shadow: 0 6px 16px rgba(0, 0, 0, 0.2);
}

.capsulas-back-to-top.show {
    opacity: 1;
    visibility: visible;
}

/* ============================================
   UTILITÁRIOS E ACESSIBILIDADE
   ============================================ */

.capsulas-container {
    max-width: 1200px;
    margin: 0 auto;
    padding: 0 1rem;
}

/* Skip link para leitores de tela */
.sr-only {
    position: absolute;
    width: 1px;
    height: 1px;
    padding: 0;
    margin: -1px;
    overflow: hidden;
    clip: rect(0, 0, 0, 0);
    white-space: nowrap;
    border: 0;
}

/* Focus visível para navegação por teclado */
a:focus,
button:focus,
summary:focus,
.capsulas-index-link:focus {
    outline: 2px solid #0056b3;
    outline-offset: 2px;
}

/* ============================================
   RESPONSIVIDADE
   ============================================ */

@media (max-width: 768px) {
    .capsulas-page-header h1 {
        font-size: 1.5rem;
    }
    
    .capsulas-section h2 {
        font-size: 1.5rem;
    }

    .capsulas-sidebar-content {
      padding: 0;
      position: relative;
  }
    
    .capsulas-back-to-top {
        bottom: 1rem;
        right: 1rem;
        width: 45px;
        height: 45px;
        font-size: 1rem;
    }

}






/* Sistema de Cápsulas de Acessibilidade - Rota page
 */

 :root {
    /* Cores principais */
    --cor-primaria: #024248;
    --cor-primaria-clara: rgba(2, 66, 72, 0.8);
    --cor-primaria-muito-clara: rgba(2, 66, 72, 0.1);
    --cor-secundaria: #EBEFF5;
    --cor-fundo: #FFFFFF;
    --cor-texto: #212B36;
    --cor-texto-secundario: #637381;
    --cor-texto-invertido: #FFFFFF;
    
    /* Cores de apoio */
    --cor-amarelo: #9D6504;
    --cor-verde: #0B7F50;
    --cor-azul: #056CD2;
    --cor-roxo: #8254E1;
    
    /* Cores de estado */
    --cor-foco: #0066CC;
    --cor-erro: #CF2A2A;
    --cor-sucesso: #287D3C;
    
    /* Espaçamentos */
    --espacamento-xs: 0.25rem;
    --espacamento-pequeno: 0.5rem;
    --espacamento-medio: 1rem;
    --espacamento-grande: 1.5rem;
    --espacamento-xl: 2rem;
    --espacamento-xxl: 3rem;
    
    /* Bordas e sombras */
    --borda-raio-sm: 4px;
    --borda-raio: 8px;
    --borda-raio-grande: 12px;
    --borda-raio-xl: 20px;
    --sombra-suave: 0 2px 8px rgba(0, 0, 0, 0.05);
    --sombra-media: 0 8px 16px rgba(0, 0, 0, 0.08);
    --sombra-forte: 0 12px 24px rgba(0, 0, 0, 0.12);
    
    /* Transições */
    --transicao-rapida: 0.2s ease-in-out;
    --transicao-media: 0.3s ease-in-out;
  
    /* Tipografia */
    --fonte-tamanho-base: 16px;
    --fonte-tamanho-pequeno: 0.875rem;
    --fonte-tamanho-medio: 1rem;
    --fonte-tamanho-grande: 1.25rem;
    --fonte-tamanho-xl: 1.5rem;
    --fonte-tamanho-xxl: 2rem;
    --linha-altura: 1.6;
  }
  
  
  .container {
    max-width: 1280px;
    margin: 0 auto;
    padding: 0 var(--espacamento-medio);
  }
  
  /* Acessibilidade - Foco */
  :focus {
    outline: 3px solid var(--cor-foco);
    outline-offset: 2px;
  }
  
  /* Cards e Layout moderno */
  .card {
    background-color: var(--cor-fundo);
    border-radius: var(--borda-raio-grande);
    box-shadow: var(--sombra-suave);
    overflow: hidden;
    transition: var(--transicao-media);
    border: 1px solid rgba(0, 0, 0, 0.05);
    margin-bottom: var(--espacamento-grande);
  }
  
  .card:hover {
    box-shadow: var(--sombra-media);
    transform: translateY(-2px);
  }
  
  .card-header {
    padding: var(--espacamento-grande);
    border-bottom: 1px solid var(--cor-secundaria);
  }
  
  .card-body-rota {
    padding: var(--espacamento-grande);
  }

  .fa-universal-access {
    color: var(--cor-primaria);
    font-size: 60px;
    margin-bottom: 10px;
  }
  
  .card-footer {
    padding: var(--espacamento-grande);
    border-top: 1px solid var(--cor-secundaria);
  }
  
  /* Layout da página principal */
  .main-layout {
    display: grid;
    min-height: 100vh;
  }
  
  .main-content-capsulas {
    padding: var(--espacamento-xl);
    background-color: #EBEFF5;
    min-height: 100vh;
  }
  
  /* Cabeçalho principal */
  .main-header {
    background-color: var(--cor-fundo);
    box-shadow: var(--sombra-suave);
    padding: var(--espacamento-grande);
    display: flex;
    align-items: center;
    justify-content: space-between;
    position: sticky;
    top: 0;
    z-index: 100;
    border-radius: var(--borda-raio-grande);
    margin-bottom: var(--espacamento-grande);
  }
  
  .main-header__title {
    font-size: var(--fonte-tamanho-xl);
    font-weight: 700;
    color: var(--cor-texto);
    margin: 0;
  }
  
  .main-header__actions {
    display: flex;
    align-items: center;
    gap: var(--espacamento-medio);
  }
  
  /* Barra lateral */
  .sidebar {
    background-color: var(--cor-fundo);
    border-right: 1px solid rgba(0, 0, 0, 0.05);
    padding: var(--espacamento-grande) 0;
    height: 100vh;
    position: sticky;
    top: 0;
    overflow-y: auto;
  }
  
  .sidebar__header {
    padding: 0 var(--espacamento-grande);
    margin-bottom: var(--espacamento-grande);
  }
  
  .sidebar__logo {
    height: 40px;
  }
  
  .sidebar__nav {
    margin-top: var(--espacamento-xl);
  }
  
  .sidebar__nav-group {
    margin-bottom: var(--espacamento-grande);
  }
  
  .sidebar__nav-title {
    color: var(--cor-texto-secundario);
    font-size: var(--fonte-tamanho-pequeno);
    font-weight: 600;
    text-transform: uppercase;
    letter-spacing: 0.5px;
    padding: 0 var(--espacamento-grande);
    margin-bottom: var(--espacamento-pequeno);
  }
  
  .sidebar__nav-item {
    display: flex;
    align-items: center;
    padding: var(--espacamento-pequeno) var(--espacamento-grande);
    color: var(--cor-texto);
    text-decoration: none;
    font-weight: 500;
    border-left: 3px solid transparent;
    transition: var(--transicao-rapida);
    position: relative;
    gap: var(--espacamento-pequeno);
  }
  
  .sidebar__nav-item svg {
    width: 18px;
    height: 18px;
    opacity: 0.7;
    flex-shrink: 0;
  }
  
  .sidebar__nav-item:hover {
    background-color: var(--cor-secundaria);
    color: var(--cor-primaria);
  }
  
  .sidebar__nav-item:hover svg {
    opacity: 1;
  }
  
  .sidebar__nav-item.active {
    border-left-color: var(--cor-primaria);
    background-color: var(--cor-primaria-muito-clara);
    color: var(--cor-primaria);
    font-weight: 600;
  }
  
  .sidebar__nav-item.active svg {
    opacity: 1;
    color: var(--cor-primaria);
  }
  
  
  
  .btn-icon {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    width: 36px;
    height: 36px;
    border-radius: var(--borda-raio);
    border: 1px solid transparent;
    cursor: pointer;
    transition: var(--transicao-rapida);
    color: var(--cor-texto);
    background-color: transparent;
    position: relative;
    overflow: hidden;
  }
  
  .btn-icon:hover {
    background-color: var(--cor-secundaria);
    color: var(--cor-primaria);
  }
  
  .btn-icon:active::after {
    content: '';
    position: absolute;
    top: 50%;
    left: 50%;
    width: 5px;
    height: 5px;
    background-color: rgba(2, 66, 72, 0.2);
    opacity: 1;
    border-radius: 100%;
    transform: scale(20, 20) translate(-50%, -50%);
    transform-origin: 50% 50%;
    transition: transform 0.3s, opacity 0.3s;
  }
  
  /* Badges */
  .badge {
    display: inline-flex;
    align-items: center;
    padding: 0.25rem 0.5rem;
    font-size: 0.75rem;
    font-weight: 600;
    border-radius: 20px;
    text-transform: uppercase;
    letter-spacing: 0.5px;
    line-height: 1;
  }
  
  .badge-primary {
    background-color: var(--cor-primaria-muito-clara);
    color: var(--cor-primaria);
  }
  
  /* Tabs modernas */
  .tabs {
    display: flex;
    border-bottom: 1px solid var(--cor-secundaria);
    margin-bottom: var(--espacamento-grande);
    overflow-x: auto;
    scrollbar-width: thin;
    scrollbar-color: var(--cor-primaria) var(--cor-secundaria);
  }
  
  .tabs::-webkit-scrollbar {
    height: 4px;
  }
  
  .tabs::-webkit-scrollbar-track {
    background: var(--cor-secundaria);
  }
  
  .tabs::-webkit-scrollbar-thumb {
    background-color: var(--cor-primaria);
    border-radius: 4px;
  }
  
  .tabs__item {
    padding: var(--espacamento-medio) var(--espacamento-grande);
    font-weight: 500;
    color: var(--cor-texto-secundario);
    position: relative;
    cursor: pointer;
    transition: var(--transicao-rapida);
    white-space: nowrap;
  }
  
  .tabs__item:hover {
    color: var(--cor-primaria);
  }
  
  .tabs__item.active {
    color: var(--cor-primaria);
    font-weight: 600;
  }
  
  .tabs__item.active::after {
    content: '';
    position: absolute;
    bottom: -1px;
    left: 0;
    right: 0;
    height: 2px;
    background-color: var(--cor-primaria);
  }
  
  /* Página de cápsulas - estilo moderno */
  .rota-page__header {
    background-color: var(--cor-fundo);
    position: relative;
    color: var(--cor-texto);
    overflow: hidden;
    padding: var(--espacamento-grande);
    border-radius: var(--borda-raio-grande);
  }
  
  .rota-page__header-content {
    position: relative;
    z-index: 1;
    display: flex;
    align-items: center;
    gap: var(--espacamento-grande);
  }
  
  .rota-page__icon {
    background-color: var(--cor-primaria-muito-clara);
    border-radius: var(--borda-raio);
    width: 60px;
    height: 60px;
    display: flex;
    align-items: center;
    justify-content: center;
    color: var(--cor-primaria);
    flex-shrink: 0;
  }
  
  .rota-page__icon svg {
    width: 32px;
    height: 32px;
  }
  
  .rota-page__title-group {
    flex: 1;
  }
  
  .rota-page__title {
    margin: 0 0 var(--espacamento-pequeno) 0;
    font-size: var(--fonte-tamanho-xxl);
    font-weight: 700;
    line-height: 1.2;
    color: var(--cor-texto);
  }
  
  .rota-page__description {
    font-size: var(--fonte-tamanho-medio);
    color: var(--cor-texto-secundario);
    margin: 0;
    max-width: 800px;
  }
  
  /* Navegação da rota moderna */
  .rota-page__nav {
    background-color: var(--cor-fundo);
    position: sticky;
    top: 0;
    box-shadow: var(--sombra-suave);
    z-index: 100;
    border-radius: var(--borda-raio-grande);
    margin-bottom: var(--espacamento-grande);
  }
  
  .rota-page__nav-container {
    display: flex;
    gap: var(--espacamento-medio);
    padding: var(--espacamento-medio) var(--espacamento-grande);
    scrollbar-width: thin;
    scrollbar-color: var(--cor-primaria) var(--cor-secundaria);
    overflow-x: auto;
  }
  
  .rota-page__nav-container::-webkit-scrollbar {
    height: 4px;
  }
  
  .rota-page__nav-container::-webkit-scrollbar-track {
    background: transparent;
  }
  
  .rota-page__nav-container::-webkit-scrollbar-thumb {
    background-color: var(--cor-primaria);
    border-radius: 4px;
  }
  
  .rota-page__nav-link {
    color: var(--cor-texto-secundario);
    text-decoration: none;
    padding: var(--espacamento-pequeno) var(--espacamento-medio);
    border-radius: var(--borda-raio);
    white-space: nowrap;
    transition: var(--transicao-rapida);
    position: relative;
    font-weight: 500;
    display: flex;
    align-items: center;
    gap: 6px;
  }
  
  .rota-page__nav-link:hover {
    color: var(--cor-primaria);
    background-color: var(--cor-primaria-muito-clara);
  }
  
  .rota-page__nav-link.active {
    color: var(--cor-primaria);
    font-weight: 600;
    background-color: var(--cor-primaria-muito-clara);
  }
  
  .rota-page__nav-link svg {
    width: 18px;
    height: 18px;
  }
  
  /* Seções da rota moderna */
  .rota-page__section {
    background-color: var(--cor-fundo);
    border-radius: var(--borda-raio-grande);
    box-shadow: var(--sombra-suave);
    margin-bottom: var(--espacamento-xl);
    overflow: hidden;
    transition: var(--transicao-media);
    border: 1px solid rgba(0, 0, 0, 0.05);
  }
  
  .rota-page__section:target {
    box-shadow: var(--sombra-media);
    border-color: rgba(2, 66, 72, 0.2);
    animation: highlight-section 1s ease-out;
  }
  
  @keyframes highlight-section {
    0% {
      transform: translateY(-5px);
      box-shadow: var(--sombra-forte);
    }
    100% {
      transform: translateY(0);
      box-shadow: var(--sombra-media);
    }
  }
  
  .rota-page__section-header {
    padding: var(--espacamento-grande);
    border-bottom: 1px solid var(--cor-secundaria);
    background-color: rgba(2, 66, 72, 0.02);
  }

  .rota-page__section-header-dark {
    background-color: #024248;
    color: white;
    padding: 2rem;
  }
  
  .rota-page__section-title {
    color: var(--cor-primaria);
    font-size: var(--fonte-tamanho-grande);
    font-weight: 600;
    margin: 0;
    display: flex;
    align-items: center;
    gap: var(--espacamento-pequeno);
  }

  .rota-page__capsulas-intro p{
    color: #024248;
  }

  .rota-page__section-title-white {
    color: white;
    font-size: var(--fonte-tamanho-grande);
    font-weight: 600;
    margin: 0;
    display: flex;
    align-items: center;
    gap: var(--espacamento-pequeno);
  }
  
  .rota-page__section-title-icon {
    width: 24px;
    height: 24px;
    color: var(--cor-primaria);
    flex-shrink: 0;
  }

  .rota-page__section-icon-white {
    width: 24px;
    height: 24px;
    color: var(--cor-primaria);
    flex-shrink: 0;
    color: white;
  }
  
  .rota-page__section-body {
    padding: var(--espacamento-grande);
  }
  
  .rota-page__content {
    max-width: 800px;
    line-height: 1.7;
  }
  
  .rota-page__content h3 {
    color: var(--cor-texto);
    margin-top: var(--espacamento-xl);
    margin-bottom: var(--espacamento-medio);
    font-size: var(--fonte-tamanho-grande);
    font-weight: 600;
  }
  
  .rota-page__content p {
    margin-top: 0;
    margin-bottom: var(--espacamento-grande);
    color: var(--cor-texto);
  }
  
  .rota-page__content ul, .rota-page__content ol {
    padding-left: var(--espacamento-xl);
    margin-bottom: var(--espacamento-grande);
  }
  
  .rota-page__content li {
    margin-bottom: var(--espacamento-pequeno);
  }
  
  .rota-page__content a {
    color: var(--cor-primaria);
    text-decoration: none;
    border-bottom: 1px solid transparent;
    transition: var(--transicao-rapida);
  }
  
  .rota-page__content a:hover {
    border-bottom-color: var(--cor-primaria);
  }
  
  /* Cards de cápsulas estilo moderno */
  .rota-capsulas__grid {
    display: grid;
    grid-template-columns: repeat(auto-fill, minmax(280px, 1fr));
    gap: var(--espacamento-grande);
  }
  
  .rota-capsula-card {
    background-color: var(--cor-fundo);
    border-radius: var(--borda-raio);
    overflow: hidden;
    box-shadow: var(--sombra-suave);
    transition: var(--transicao-media);
    display: flex;
    flex-direction: column;
    height: 100%;
    border: 1px solid var(--cor-secundaria);
    position: relative;
  }
  
  .rota-capsula-card:hover {
    transform: translateY(-5px);
    box-shadow: var(--sombra-media);
    border-color: rgba(2, 66, 72, 0.2);
  }
  
  .rota-capsula-card:focus-visible {
    outline: 2px solid var(--cor-foco);
    outline-offset: 2px;
  }
  
  .rota-capsula-card--destaque::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    width: 4px;
    height: 100%;
    background-color: var(--cor-amarelo);
    z-index: 1;
  }
  
  .rota-capsula-card__image {
    height: 160px;
    overflow: hidden;
    position: relative;
  }
  
  .rota-capsula-card__image::after {
    content: '';
    position: absolute;
    bottom: 0;
    left: 0;
    right: 0;
    height: 40px;
    background-image: linear-gradient(to top, rgba(255, 255, 255, 0.8), transparent);
    z-index: 1;
  }
  
  .rota-capsula-card__image img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    transition: var(--transicao-media);
  }
  
  .rota-capsula-card:hover .rota-capsula-card__image img {
    transform: scale(1.05);
  }
  
  .rota-capsula-card__content {
    padding: var(--espacamento-grande);
    display: flex;
    flex-direction: column;
    flex: 1;
    position: relative;
    z-index: 2;
    justify-content: space-between;
  }
  
  .rota-capsula-card__tag {
    display: inline-flex;
    align-items: center;
    background-color: var(--cor-primaria-muito-clara);
    color: var(--cor-primaria);
    font-size: 0.75rem;
    font-weight: 600;
    padding: 4px 8px;
    border-radius: 20px;
    margin-bottom: var(--espacamento-pequeno);
    text-transform: uppercase;
    letter-spacing: 0.5px;
    line-height: 1;
    max-width: fit-content;
    gap: 4px;
  }

  .rota-capsula-card__description p{
    color: var(--cor-texto);
  }
  
  .rota-capsula-card__tag svg {
    width: 12px;
    height: 12px;
    flex-shrink: 0;
  }
  
  .rota-capsula-card__title {
    font-size: 22px;
    font-weight: 600;
    margin: 0 0 var(--espacamento-pequeno) 0;
    color: var(--cor-texto);
  }
  
  .rota-capsula-card__context {
    color: var(--cor-texto-secundario);
    font-size: var(--fonte-tamanho-pequeno);
    margin-bottom: var(--espacamento-medio);
    flex: 1;
  }
  
  .rota-capsula-card__button {
    display: inline-flex;
    align-items: center;
    justify-content: space-between;
    width: 100%;
    background-color: var(--cor-secundaria);
    color: var(--cor-texto);
    text-decoration: none;
    padding: 0.75rem 1rem;
    border-radius: var(--borda-raio);
    font-weight: 500;
    transition: var(--transicao-rapida);
    border: none;
    margin-top: auto;
    position: relative;
    overflow: hidden;
  }
  
  .rota-capsula-card__button:hover {
    background-color: var(--cor-primaria);
    color: var(--cor-texto-invertido);
  }
  
  .rota-capsula-card__button:focus-visible {
    outline: 2px solid var(--cor-foco);
    outline-offset: 2px;
  }
  
  .rota-capsula-card__button::after {
    content: '';
    position: absolute;
    top: 50%;
    left: 50%;
    width: 5px;
    height: 5px;
    background-color: rgba(255, 255, 255, 0.5);
    opacity: 0;
    border-radius: 100%;
    transform: scale(1, 1) translate(-50%, -50%);
    transform-origin: 50% 50%;
  }
  
  .rota-capsula-card__button:active::after {
    opacity: 0.3;
    transform: scale(60, 60) translate(-50%, -50%);
    transition: transform 0.6s, opacity 0.6s;
  }
  
  .rota-capsula-card__button svg {
    width: 20px;
    height: 20px;
    flex-shrink: 0;
    transition: transform var(--transicao-rapida);
  }
  
  .rota-capsula-card__button:hover svg {
    transform: translateX(4px);
  }
  
  /* Elementos de rotas estilo QuizKwik */
  .routes-container {
    display: grid;
    grid-template-columns: 1fr 2fr;
    gap: var(--espacamento-grande);
    margin-top: var(--espacamento-xl);
  }
  
  .routes-sidebar {
    background-color: var(--cor-primaria);
    color: var(--cor-texto-invertido);
    padding: var(--espacamento-grande);
    border-radius: var(--borda-raio-grande);
    display: flex;
    flex-direction: column;
    justify-content: center;
    align-items: flex-start;
    height: 100%;
    position: relative;
    overflow: hidden;
  }
  
  .routes-sidebar::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    background: linear-gradient(135deg, rgba(255,255,255,0.1) 0%, rgba(255,255,255,0) 50%);
    z-index: 0;
  }
  
  .routes-sidebar__title {
    font-size: var(--fonte-tamanho-xl);
    font-weight: 700;
    margin-bottom: var(--espacamento-pequeno);
    position: relative;
    z-index: 1;
  }
  
  .routes-sidebar__subtitle {
    opacity: 0.8;
    margin-bottom: var(--espacamento-xl);
    font-size: 0.875rem;
    position: relative;
    z-index: 1;
  }
  
  .routes-list {
    background-color: var(--cor-fundo);
    border-radius: var(--borda-raio-grande);
    padding: var(--espacamento-grande);
    display: flex;
    flex-direction: column;
    gap: var(--espacamento-medio);
  }
  
  .route-option {
    display: flex;
    align-items: center;
    padding: var(--espacamento-grande);
    border-radius: var(--borda-raio);
    transition: var(--transicao-rapida);
    text-decoration: none;
    color: var(--cor-texto);
    border: 1px solid transparent;
  }
  
  .route-option:hover {
    background-color: var(--cor-secundaria);
    border-color: rgba(2, 66, 72, 0.1);
    transform: translateY(-2px);
    box-shadow: var(--sombra-suave);
  }
  
  .route-option--featured {
    background-color: var(--cor-primaria-muito-clara);
    border: 1px solid rgba(2, 66, 72, 0.1);
  }
  
  .route-option--featured:hover {
    background-color: rgba(2, 66, 72, 0.15);
    box-shadow: var(--sombra-media);
  }
  
  .route-option__icon {
    width: 48px;
    height: 48px;
    display: flex;
    align-items: center;
    justify-content: center;
    border-radius: 50%;
    margin-right: var(--espacamento-grande);
    flex-shrink: 0;
    transition: var(--transicao-rapida);
  }
  
  .route-option:hover .route-option__icon {
    transform: scale(1.05);
  }
  
  .route-option__icon svg {
    width: 24px;
    height: 24px;
  }
  
  .route-option__icon--green {
    background-color: rgba(54, 179, 126, 0.1);
    color: var(--cor-verde);
  }
  
  .route-option__icon--yellow {
    background-color: rgba(255, 177, 0, 0.1);
    color: var(--cor-amarelo);
  }
  
  .route-option__icon--blue {
    background-color: rgba(38, 132, 255, 0.1);
    color: var(--cor-azul);
  }
  
  .route-option__icon--purple {
    background-color: rgba(157, 123, 218, 0.1);
    color: var(--cor-roxo);
  }
  
  .route-option__content {
    flex: 1;
  }
  
  .route-option__title {
    font-size: var(--fonte-tamanho-grande);
    font-weight: 600;
    margin: 0 0 var(--espacamento-xs) 0;
  }
  
  .route-option__description {
    color: var(--cor-texto-secundario);
    font-size: var(--fonte-tamanho-pequeno);
    margin: 0;
  }
  
  .route-option__action {
    color: var(--cor-primaria);
    display: flex;
    align-items: center;
    transition: var(--transicao-rapida);
  }
  
  .route-option:hover .route-option__action svg {
    transform: translateX(4px);
  }
  
  /* Stats e métricas */
  .stats-container {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(200px, 1fr));
    gap: var(--espacamento-grande);
    margin-bottom: var(--espacamento-xl);
  }
  
  .stat-card {
    background-color: var(--cor-fundo);
    border-radius: var(--borda-raio);
    padding: var(--espacamento-grande);
    box-shadow: var(--sombra-suave);
    display: flex;
    flex-direction: column;
    align-items: flex-start;
    transition: var(--transicao-rapida);
    border: 1px solid var(--cor-secundaria);
  }
  
  .stat-card:hover {
    transform: translateY(-2px);
    box-shadow: var(--sombra-media);
    border-color: rgba(2, 66, 72, 0.1);
  }
  
  .stat-card__label {
    font-size: var(--fonte-tamanho-pequeno);
    color: var(--cor-texto-secundario);
    margin-bottom: var(--espacamento-pequeno);
    display: flex;
    align-items: center;
    gap: var(--espacamento-pequeno);
  }
  
  .stat-card__label svg {
    width: 16px;
    height: 16px;
    opacity: 0.7;
  }
  
  .stat-card__value {
    font-size: var(--fonte-tamanho-xl);
    font-weight: 700;
    color: var(--cor-texto);
    margin: 0;
  }
  
  .stat-card__chart {
    width: 100%;
    margin-top: var(--espacamento-pequeno);
  }
  
  .progress-bar {
    height: 8px;
    width: 100%;
    background-color: var(--cor-secundaria);
    border-radius: 4px;
    overflow: hidden;
    margin-top: var(--espacamento-pequeno);
  }
  
  .progress-bar__fill {
    height: 100%;
    background-color: var(--cor-primaria);
    border-radius: 4px;
    transition: width 1s ease-out;
  }
  
  /* Responsividade */
  @media (max-width: 992px) {
    .main-layout {
      grid-template-columns: 1fr;
    }
    
    .sidebar {
      display: flex;
    }
    
    .routes-container {
      grid-template-columns: 1fr;
    }
    
    .routes-sidebar {
      margin-bottom: var(--espacamento-grande);
      text-align: center;
      align-items: center;
    }

    .sidebar__header {
        display: none;
      }

      .sidebar__nav {
        display: flex;
      }

      .sidebar__nav-group{
        display: flex;
      }
  }
  
  @media (max-width: 768px) {
    .main-content-capsulas {
      padding: var(--espacamento-medio);
    }
  
    .rota-capsulas__grid {
      grid-template-columns: 1fr;
    }
    
    .stats-container {
      grid-template-columns: repeat(2, 1fr);
    }
    
    .rota-page__header-content {
      flex-direction: column;
      align-items: flex-start;
    }
    
    .rota-page__icon {
      margin-bottom: var(--espacamento-medio);
    }
  }
  
  @media (max-width: 576px) {
    .stats-container {
      grid-template-columns: 1fr;
    }
  
    .card-body-rota {
      padding: var(--espacamento-medio);
    }
  
    .rota-page__section-body,
    .rota-page__section-header {
      padding: var(--espacamento-medio);
    }
  
    .rota-capsula-card__content {
      padding: var(--espacamento-medio);
    }
    .capsulas-main-content {
      max-width: 90vw;
    }

    .capsulas-sidebar-title {
      display: none;
    }
  }
  
  /* Melhorias de acessibilidade */
  .visually-hidden {
    position: absolute;
    width: 1px;
    height: 1px;
    padding: 0;
    margin: -1px;
    overflow: hidden;
    clip: rect(0, 0, 0, 0);
    white-space: nowrap;
    border: 0;
  }
  
  .skip-to-content {
    position: absolute;
    top: -40px;
    left: 0;
    background: var(--cor-primaria);
    color: var(--cor-texto-invertido);
    padding: 8px;
    z-index: 9999;
    transition: top 0.3s;
  }
  
  .skip-to-content:focus {
    top: 0;
  }
  
  /* Modo de alto contraste */
  body.using-keyboard :focus {
    outline: 3px solid var(--cor-foco) !important;
    outline-offset: 2px !important;
  }
  
  /* Media queries para acessibilidade */
  @media (prefers-reduced-motion: reduce) {
    *, *::before, *::after {
      animation-duration: 0.001s !important;
      animation-iteration-count: 1 !important;
      transition-duration: 0.001s !important;
      scroll-behavior: auto !important;
    }
    
    .rota-capsula-card:hover {
      transform: none;
    }
    
    .rota-capsula-card:hover .rota-capsula-card__image img {
      transform: none;
    }
  
    .rota-capsula-card__button:hover svg {
      transform: none;
    }
  
    .route-option:hover {
      transform: none;
    }
  
    .route-option:hover .route-option__icon {
      transform: none;
    }
  
  
    .stat-card:hover {
      transform: none;
    }
  
    .card:hover {
      transform: none;
    }
  }









/* Estilos específicos para o Gerador de Rotas
 * Compatível com o design hightech do Sistema de Cápsulas de Acessibilidade
 */

/* Importando as variáveis do design principal */
.gerador-rotas {
    --cor-primaria: #024248;
    --cor-primaria-clara: rgba(2, 66, 72, 0.8);
    --cor-primaria-muito-clara: rgba(2, 66, 72, 0.1);
    --cor-secundaria: #EBEFF5;
    --cor-fundo: #FFFFFF;
    --cor-texto: #212B36;
    --cor-texto-secundario: #637381;
    --cor-texto-invertido: #FFFFFF;
    --cor-amarelo: #FFB100;
    --cor-verde: #36B37E;
    --cor-azul: #2684FF;
    --cor-roxo: #9D7BDA;
    --borda-raio-sm: 4px;
    --borda-raio: 8px;
    --borda-raio-grande: 12px;
    --sombra-suave: 0 2px 8px rgba(0, 0, 0, 0.05);
    --sombra-media: 0 8px 16px rgba(0, 0, 0, 0.08);
    --transicao-rapida: 0.2s ease-in-out;
    --transicao-media: 0.3s ease-in-out;
    --espacamento-pequeno: 0.5rem;
    --espacamento-medio: 1rem;
    --espacamento-grande: 1.5rem;
    --espacamento-xl: 2rem;
    --espacamento-xxl: 3rem;
  
    background-color: var(--cor-secundaria);
    padding: var(--espacamento-xl) 0;
    min-height: 100vh;
  }
  
  .container {
    max-width: 1200px;
    margin: 0 auto;
    padding: 0 var(--espacamento-medio);
  }
  
  /* Cabeçalho do gerador de rotas */
  .gerador-rotas__header {
    padding: var(--espacamento-grande);
    margin-bottom: var(--espacamento-xl);
    text-align: center;
    position: relative;
    overflow: hidden;
  }
  

  
  .gerador-rotas__header h1 {
    color: var(--cor-primaria);
    font-size: 2rem;
    margin-top: 0;
    margin-bottom: var(--espacamento-medio);
    font-weight: 700;
  }
  
  .gerador-rotas__intro {
    max-width: 800px;
    margin: 0 auto;
    color: var(--cor-texto-secundario);
  }
  
  .gerador-rotas__intro p {
    margin-bottom: 1.2em;
    margin-top: 1.2em;
    line-height: 1.6;
    color: #434A54;
  }
  
  .gerador-rotas__intro p:last-child {
    margin-bottom: 0;
  }
  
  /* Conteúdo do gerador */
  .gerador-rotas__content {
    background-color: var(--cor-fundo);
    border-radius: var(--borda-raio-grande);
    padding: var(--espacamento-grande);
    box-shadow: var(--sombra-suave);
  }
  
  .gerador-rotas__question {
    text-align: center;
    margin-bottom: var(--espacamento-grande);
  }
  
  .gerador-rotas__question h2 {
    color: #024248;
    font-size: 32px;
    font-weight: 600;
    margin: 0;
    margin-top: 40px;
  }
  
  /* Opções de rota */
  .gerador-rotas__options {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: var(--espacamento-grande);
    margin-bottom: var(--espacamento-grande);
    margin-top: 2rem;
  }
  
  .rotas-option {
    cursor: pointer;
    transition: var(--transicao-rapida);
  }
  
  .rotas-option:focus {
    outline: none;
  }
  
  .rotas-option:focus-visible {
    outline: 3px solid var(--cor-foco);
    outline-offset: 2px;
    border-radius: var(--borda-raio);
  }
  
  .rotas-option__label {
    display: block;
    cursor: pointer;
  }
  
  .rotas-option__content {
    background-color: var(--cor-fundo);
    border: 1px solid var(--cor-secundaria);
    border-radius: var(--borda-raio);
    padding: var(--espacamento-grande);
    transition: var(--transicao-rapida);
    display: flex;
    align-items: flex-start;
    gap: var(--espacamento-medio);
    height: 100%;
    position: relative;
    overflow: hidden;
  }
  
  .rotas-option:hover .rotas-option__content {
    border-color: var(--cor-primaria-clara);
    box-shadow: var(--sombra-suave);
    transform: translateY(-4px);
  }
  
  .rotas-option__radio {
    position: absolute;
    opacity: 0;
    width: 0;
    height: 0;
  }
  
  .rotas-option__radio:checked + .rotas-option__content {
    border-color: var(--cor-primaria);
    background-color: var(--cor-primaria-muito-clara);
    box-shadow: var(--sombra-media);
  }
  
  .rotas-option__radio:checked + .rotas-option__content::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    width: 4px;
    height: 100%;
    background-color: var(--cor-primaria);
    border-radius: var(--borda-raio) 0 0 var(--borda-raio);
  }
  
  .rotas-option__icon {
    width: 60px;
    height: 60px;
    display: flex;
    align-items: center;
    justify-content: center;
    background-color: var(--cor-primaria-muito-clara);
    color: var(--cor-primaria);
    border-radius: var(--borda-raio);
    flex-shrink: 0;
    transition: var(--transicao-rapida);
  }
  
  /* Ícones específicos por opção */
  .rotas-option:nth-child(1) .rotas-option__icon {
    background-color: rgba(54, 179, 126, 0.1);
    color: var(--cor-verde);
  }
  
  .rotas-option:nth-child(2) .rotas-option__icon {
    background-color: rgba(255, 177, 0, 0.1);
    color: var(--cor-amarelo);
  }
  
  .rotas-option:nth-child(3) .rotas-option__icon {
    background-color: rgba(38, 132, 255, 0.1);
    color: var(--cor-azul);
  }
  
  .rotas-option:nth-child(4) .rotas-option__icon {
    background-color: rgba(157, 123, 218, 0.1);
    color: var(--cor-roxo);
  }
  
  .rotas-option:hover .rotas-option__icon {
    transform: scale(1.05);
  }
  
  .rotas-option__radio:checked ~ .rotas-option__icon {
    transform: scale(1.1);
  }
  
  .rotas-option__text {
    flex: 1;
  }
  
  .rotas-option__text p {
    margin: 0;
    color: var(--cor-texto);
    font-weight: 500;
    line-height: 1.5;
  }
  
  /* Botão de ação */
  .gerador-rotas__action {
    text-align: center;
    margin-top: var(--espacamento-xl);
    display: flex;
    justify-content: center;
  }
  
  /* Indicador de seleção customizado */
  .rotas-option__radio + .rotas-option__content::after {
    content: '';
    position: absolute;
    top: 1rem;
    right: 1rem;
    width: 20px;
    height: 20px;
    border: 2px solid var(--cor-secundaria);
    border-radius: 50%;
    transition: var(--transicao-rapida);
  }
  
  .rotas-option__radio:checked + .rotas-option__content::after {
    border-color: var(--cor-primaria);
    background-color: var(--cor-primaria);
    box-shadow: 0 0 0 2px var(--cor-primaria-muito-clara);
  }
  
  /* Efeito de check mark */
  .rotas-option__radio:checked + .rotas-option__content::after {
    content: '';
    position: absolute;
    top: 1rem;
    right: 1rem;
    width: 22px;
    height: 22px;
    background-color: var(--cor-primaria);
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
  }
  
  .rotas-option__radio:checked + .rotas-option__content::after {
    background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' width='12' height='12' viewBox='0 0 24 24' fill='none' stroke='white' stroke-width='3' stroke-linecap='round' stroke-linejoin='round'%3E%3Cpolyline points='20 6 9 17 4 12'%3E%3C/polyline%3E%3C/svg%3E");
    background-position: center;
    background-repeat: no-repeat;
    background-size: 12px;
  }
  
  /* Responsividade */
  @media (max-width: 768px) {
    .gerador-rotas__options {
      grid-template-columns: 1fr;
    }
    
    .gerador-rotas__header {
      padding: var(--espacamento-medio);
    }
    
    .gerador-rotas__content {
      padding: 30px;
    }
    
    .gerador-rotas__header h1 {
      font-size: 1.5rem;
    }
    
    .gerador-rotas__question h2 {
      font-size: 22px;
    }
  }
  
  /* Acessibilidade - preferência por movimento reduzido */
  @media (prefers-reduced-motion: reduce) {
    * {
      transition-duration: 0.001s !important;
      animation-duration: 0.001s !important;
    }
    
    .rotas-option:hover .rotas-option__content {
      transform: none;
    }
    
    .rotas-option:hover .rotas-option__icon {
      transform: none;
    }
    
    .btn-primary:hover:not(:disabled) {
      transform: none;
    }
  }
  
  /* Acessibilidade - foco via teclado */
  body.using-keyboard .rotas-option:focus-visible {
    outline: 3px solid var(--cor-foco);
    outline-offset: 2px;
  }



  /* Estilos de navegação responsiva acessível para o Sistema de Cápsulas de Acessibilidade
 * Inclui barra de navegação fixa inferior para dispositivos móveis
 */

/* Menu móvel fixado na parte inferior */
.mobile-nav {
    display: none; /* Oculto por padrão (apenas visível em mobile) */
    position: fixed;
    bottom: 0;
    left: 0;
    width: 100%;
    background-color: var(--cor-fundo);
    box-shadow: 0 -2px 10px rgba(0, 0, 0, 0.1);
    z-index: 1000;
    padding: 8px 0;
    border-top: 1px solid var(--cor-secundaria);
  }
  
  .mobile-nav__list {
    display: flex;
    justify-content: space-around;
    list-style: none;
    margin: 0;
    padding: 0;
  }
  
  .mobile-nav__item {
    flex: 1;
    text-align: center;
  }
  
  .mobile-nav__link {
    display: flex;
    flex-direction: column;
    align-items: center;
    color: var(--cor-texto-secundario);
    text-decoration: none;
    padding: 8px;
    border-radius: var(--borda-raio);
    transition: var(--transicao-rapida);
    font-size: 0.75rem;
  }
  
  .mobile-nav__link:hover,
  .mobile-nav__link:focus {
    color: var(--cor-primaria);
    background-color: var(--cor-primaria-muito-clara);
  }
  
  .mobile-nav__link.active {
    color: var(--cor-primaria);
    font-weight: 600;
  }
  
  .mobile-nav__icon {
    width: 24px;
    height: 24px;
    margin-bottom: 4px;
  }
  
  .mobile-nav__text {
    display: block;
    font-size: 0.7rem;
    margin-top: 2px;
    white-space: nowrap;
    overflow: hidden;
    text-overflow: ellipsis;
    max-width: 100%;
  }
  
  /* Botão de expansão para submenu móvel */
  .mobile-nav__more-btn {
    background: none;
    border: none;
    color: var(--cor-texto-secundario);
    padding: 8px;
    display: flex;
    flex-direction: column;
    align-items: center;
    width: 100%;
    font-size: 0.75rem;
    cursor: pointer;
    transition: var(--transicao-rapida);
  }
  
  .mobile-nav__more-btn:focus {
    outline: none;
    color: var(--cor-primaria);
    background-color: var(--cor-primaria-muito-clara);
  }
  
  /* Drawer para menu expandido */
  .mobile-drawer {
    position: fixed;
    bottom: 60px; /* Altura da barra de navegação móvel */
    left: 0;
    width: 100%;
    background-color: var(--cor-fundo);
    box-shadow: 0 -5px 15px rgba(0, 0, 0, 0.1);
    transform: translateY(100%);
    transition: transform 0.3s ease-in-out;
    z-index: 999;
    border-top-left-radius: var(--borda-raio-grande);
    border-top-right-radius: var(--borda-raio-grande);
    overflow: hidden;
    max-height: 70vh;
    overflow-y: auto;
  }
  
  .mobile-drawer.open {
    transform: translateY(0);
  }
  
  .mobile-drawer__header {
    display: flex;
    align-items: center;
    justify-content: space-between;
    padding: 16px;
    border-bottom: 1px solid var(--cor-secundaria);
  }
  
  .mobile-drawer__title {
    font-size: 1.1rem;
    margin: 0;
    color: var(--cor-texto);
  }
  
  .mobile-drawer__close {
    background: none;
    border: none;
    color: var(--cor-texto-secundario);
    width: 36px;
    height: 36px;
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    cursor: pointer;
    transition: var(--transicao-rapida);
  }
  
  .mobile-drawer__close:hover,
  .mobile-drawer__close:focus {
    background-color: var(--cor-secundaria);
    color: var(--cor-texto);
  }
  
  .mobile-drawer__content {
    padding: 16px;
  }
  
  .mobile-drawer__section {
    margin-bottom: 24px;
  }
  
  .mobile-drawer__section-title {
    font-size: 0.8rem;
    color: var(--cor-texto-secundario);
    text-transform: uppercase;
    letter-spacing: 0.5px;
    margin-bottom: 8px;
  }
  
  .mobile-drawer__nav-list {
    list-style: none;
    margin: 0;
    padding: 0;
  }
  
  .mobile-drawer__nav-item {
    margin-bottom: 2px;
  }
  
  .mobile-drawer__nav-link {
    display: flex;
    align-items: center;
    padding: 12px 16px;
    color: var(--cor-texto);
    text-decoration: none;
    border-radius: var(--borda-raio);
    transition: var(--transicao-rapida);
  }
  
  .mobile-drawer__nav-link:hover,
  .mobile-drawer__nav-link:focus {
    background-color: var(--cor-secundaria);
  }
  
  .mobile-drawer__nav-link.active {
    background-color: var(--cor-primaria-muito-clara);
    color: var(--cor-primaria);
    font-weight: 500;
  }
  
  .mobile-drawer__nav-icon {
    margin-right: 12px;
    width: 20px;
    height: 20px;
    flex-shrink: 0;
  }
  
  /* Ajustes para o layout principal em dispositivos móveis */
  /* Correção para sidebar móvel fixa */
@media (max-width: 991px) {
    /* Esconder a sidebar padrão e configurar corretamente para dispositivos móveis */
    .sidebar {
      display: flex;
      flex-direction: row;
      justify-content: space-around;
      align-items: center;
      position: fixed;
      top: 90vh;
      left: 0;
      right: 0;
      width: 100%;
      height: auto;
      max-height: 70px;
      padding: 10px 15px;
      background-color: #fff;
      box-shadow: 0 -2px 10px rgba(0, 0, 0, 0.1);
      z-index: 1000;
      overflow-x: auto; /* Permite rolagem horizontal se necessário */
    }
    
    /* Ajustar os itens de navegação para exibição móvel */
    .sidebar__nav {
      display: flex;
      width: 100%;
      overflow-x: auto;
    }
    
    .sidebar__nav-group {
      display: flex;
      flex-direction: row;
      margin-right: 10px;
      align-items: center;
    }
    
    /* Esconder os títulos das seções no mobile */
    .sidebar__nav-title {
      display: none;
    }
    
    /* Ajustar os itens do menu */
    .sidebar__nav-item {
      display: flex;
      flex-direction: column;
      align-items: center;
      justify-content: center;
      padding: 8px 12px;
      font-size: 12px;
      text-align: center;
      white-space: nowrap;
      border-radius: 8px;
    }
    
    .sidebar__nav-item svg {
      width: 20px;
      height: 20px;
      margin-bottom: 4px;
    }
    
    /* Ajustar o layout principal para remover a coluna da sidebar */
    .main-layout {
      grid-template-columns: 1fr;
    }
    
    /* Ajustar todos os conteúdos principais para evitar que sejam escondidos pelo menu fixo */
    .main-content, .main-content-capsulas {
      padding-bottom: calc(var(--espacamento-xl) + 80px);
      max-width: 100vw;
    }
    
    /* Esconder o logo na versão mobile ou reduzir seu tamanho */
    .sidebar__header {
      display: none;
    }
    
    /* Garantir que o menu móvel tenha boa aparência */
    .mobile-nav {
      display: none; /* Estamos usando a sidebar adaptada, não um componente separado */
    }
  }
  
  /* Fix para iOS e Safari que às vezes tem problemas com elementos fixos */
  @supports (-webkit-touch-callout: none) {
    @media (max-width: 991px) {
      .sidebar {
        position: -webkit-sticky;
        position: sticky;
      }
    }
  }
  
  /* Melhorias de acessibilidade */
  /* Focus visível em dispositivos táteis */
  .mobile-nav__link:focus-visible,
  .mobile-drawer__nav-link:focus-visible,
  .mobile-nav__more-btn:focus-visible,
  .mobile-drawer__close:focus-visible {
    outline: 3px solid var(--cor-foco);
    outline-offset: -2px;
  }
  
  /* Ajustes para dispositivos com telas pequenas */
  @media (max-width: 320px) {
    .mobile-nav__text {
      font-size: 0.6rem;
    }
    
    .mobile-nav__icon {
      width: 20px;
      height: 20px;
    }
  }
  
  /* Melhorias para modo escuro */
  @media (prefers-color-scheme: dark) {
    .mobile-nav {
      background-color: #121212;
      border-top-color: #2A2A2A;
    }
    
    .mobile-drawer {
      background-color: #121212;
    }
  }
  
  /* Redução de movimento para usuários com vestibular motion triggers */
  @media (prefers-reduced-motion: reduce) {
    .mobile-drawer {
      transition: none;
    }
  }
  
  /* Overlay de fundo quando o drawer está aberto */
  .drawer-overlay {
    position: fixed;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    background-color: rgba(0, 0, 0, 0.5);
    opacity: 0;
    visibility: hidden;
    transition: opacity 0.3s ease;
    z-index: 998;
  }
  
  .drawer-overlay.active {
    opacity: 1;
    visibility: visible;
  }



  
  .rotas-option.ativo {
    border-color: #2196F3;
    background-color: rgba(33, 150, 243, 0.08);
  }
  
  .rotas-option.ativo .rotas-option__icon {
    background-color: #2196F3;
    color: white;
  }
  
  #btn-gerar-rota.ativo {
    background-color: #2196F3;
    cursor: pointer;
    color: white;
  }













/* Estilo personalizado para a página de Cápsulas de Acessibilidade */
/* Usando prefixo 'acess-' para evitar conflitos com outras classes CSS */

:root {
    --acess-primary: #024248; /* Azul principal */
    --acess-secondary: #1351B4; /* Azul secundário */
    --acess-accent: #2670E8; /* Azul destaque */
    --acess-light: #F8F8F8;
    --acess-border: #E0E0E0;
    --acess-text: #333333;
    --acess-visual: #AB3FDD; /* Cor para deficiência visual */
    --acess-hearing: #F7B500; /* Cor para deficiência auditiva */
    --acess-motor: #E52E4D; /* Cor para deficiência motora */
    --acess-cognitive: #33B679; /* Cor para deficiência cognitiva */
}

/* Container principal */
.acess-hero {
    background: linear-gradient(rgba(12, 50, 111, 0.03), rgba(12, 50, 111, 0.05));
    padding: 80px 20px 30px 20px; 
    text-align: center;
    margin-bottom: 0;
    position: relative;
}

/* Ícone de acessibilidade */
.acess-icon {
    width: 120px;
    height: 120px;
    margin: 0 auto 20px;
    display: block;
}

/* Estilos de texto */
.acess-subtitle {
    color: var(--acess-primary);
    font-size: 16px;
    font-weight: 600;
    letter-spacing: 1px;
    text-transform: uppercase;
    margin-bottom: 10px;
}

.acess-title-large {
    font-size: 42px;
    font-weight: 600;
    margin: 10px 0 20px;
    color: #024248;
    line-height: 1.1;
    max-width: 900px;
    margin-left: auto;
    margin-right: auto;
}

.acess-description {
    font-size: 18px;
    color: #666;
    max-width: 600px;
    margin: 0 auto 30px;
    line-height: 1.6;
}

/* Container dos filtros */
.acess-filter-container {
    background-color: white;
    border-radius: 16px;
    box-shadow: 0 6px 24px rgba(0, 0, 0, 0.381);
    max-width: 1000px;
    margin: 0 auto;
    padding: 20px 30px;
    position: relative;
    top: -30px;
    z-index: 10;
}

/* Dropdown filters */
.acess-filter-group {
    display: flex;
    flex-wrap: wrap;
    gap: 12px;
    justify-content: center;
}

.acess-dropdown {
    position: relative;
    min-width: 220px;
}

.acess-dropdown-btn {
    display: flex;
    align-items: center;
    justify-content: space-between;
    width: 100%;
    padding: 12px 16px;
    border-radius: 8px;
    border: 1px solid #E2E8F0;
    background-color: white;
    color: #334155;
    font-size: 15px;
    font-weight: 500;
    cursor: pointer;
    transition: all 0.2s ease;
    box-shadow: 0 2px 4px rgba(0,0,0,0.02);
}

.acess-dropdown-btn:hover {
    border-color: #CBD5E1;
    background-color: #F8FAFC;
}

.acess-dropdown-btn i {
    margin-left: 10px;
}

.acess-counter {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    width: 20px;
    height: 20px;
    margin-left: 8px;
    background-color: var(--acess-primary);
    color: white;
    border-radius: 50%;
    font-size: 12px;
    font-weight: 600;
}

.acess-dropdown-content {
    position: absolute;
    top: calc(100% + 5px);
    left: 0;
    width: 260px;
    background-color: white;
    border-radius: 8px;
    box-shadow: 0 10px 25px rgba(0,0,0,0.1);
    z-index: 100;
    border: 1px solid #E2E8F0;
    display: none; /* Inicialmente oculto */
}

.acess-dropdown-inner {
    padding: 16px;
    max-height: 300px;
    overflow-y: auto;
}

/* Estilo de checkbox moderno */
.acess-options {
    display: grid;
    grid-template-columns: 1fr;
    gap: 8px;
}

.acess-check-item {
    display: flex;
    align-items: center;
    margin-bottom: 4px;
}

.acess-checkbox {
    position: absolute;
    opacity: 0;
    cursor: pointer;
    height: 0;
    width: 0;
}

.acess-check-label {
    position: relative;
    padding-left: 30px;
    cursor: pointer;
    font-size: 14px;
    color: #475569;
    display: flex;
    align-items: center;
    min-height: 24px;
}

.acess-check-label:before {
    content: '';
    position: absolute;
    left: 0;
    top: 50%;
    transform: translateY(-50%);
    width: 18px;
    height: 18px;
    border: 2px solid #CBD5E1;
    border-radius: 4px;
    background-color: #fff;
    transition: all 0.2s ease;
}

.acess-checkbox:checked + .acess-check-label:before {
    background-color: var(--acess-primary);
    border-color: var(--acess-primary);
}

.acess-check-label:after {
    content: '';
    position: absolute;
    left: 6px;
    top: 50%;
    transform: translateY(-70%) rotate(45deg);
    width: 6px;
    height: 10px;
    border: solid white;
    border-width: 0 2px 2px 0;
    opacity: 0;
    transition: all 0.2s ease;
}

.acess-checkbox:checked + .acess-check-label:after {
    opacity: 1;
}

.acess-checkbox:focus + .acess-check-label:before {
    outline: 3px solid #E8603C;
    outline-offset: 3px;
}

.acess-checkbox:focus:not(:focus-visible) + .acess-check-label:before {
    outline: none;
}

/* Foco visível via teclado no botão de dropdown */
.acess-dropdown-btn:focus-visible {
    outline: 3px solid #E8603C !important;
    outline-offset: 2px;
}

/* Foco visível nos links dos cards de cápsula */
.acess-capsula-link > a:focus-visible {
    outline: 3px solid #E8603C !important;
    outline-offset: 4px;
    border-radius: 12px;
}

/* Foco visível no botão de limpar filtros */
.acess-clear-all:focus-visible,
.acess-remove-btn:focus-visible {
    outline: 3px solid #E8603C !important;
    outline-offset: 2px;
}

/* Container de conteúdo principal */
.acess-content {
    max-width: 1142px;
    margin: 0 auto;
    padding: 20px 0;
}

.section_cap {
  background: #F5F7FA;
}

/* Título da seção */
.acess-section-title {
    font-size: 36px;
    font-weight: 800;
    text-align: center;
    margin: 60px 0 20px;
    text-transform: uppercase;
}

.acess-section-subtitle {
    font-size: 18px;
    text-align: center;
    color: #666;
    margin: 0 auto 40px;
    max-width: 700px;
}

/* Grid de cápsulas */
.acess-grid {
    display: grid;
    grid-template-columns: repeat(auto-fill, minmax(300px, 1fr));
    gap: 25px;
    margin-top: 40px;
}

/* Card de cápsula */
.acess-capsula-card {
    background-color: white;
    border-radius: 12px;
    padding: 20px;
    overflow: hidden;
    transition: all 0.2s ease;
    box-shadow: 0 4px 16px rgba(0,0,0,0.04);
    border: 1px solid #EEE;
    display: flex;
    flex-direction: column;
    height: 100%;
}


.acess-capsula-card_cap {
  background-color: white;
  border-radius: 0 12px 12px 0;
  padding: 20px;
  overflow: hidden;
  transition: all 0.2s ease;
  box-shadow: 0 4px 16px rgba(0,0,0,0.04);
  border: 1px solid #EEE;
  display: flex;
  flex-direction: column;
}


/* Adicione isso ao seu CSS */
.rota-section {
  display: block !important; /* Força todas as seções a ficarem visíveis */
  margin-bottom: 2rem; /* Espaçamento entre seções */
}
.acess-capsula-link {
    text-decoration: none;
    color: inherit;
    display: block;
}

.acess-capsula-link > a {
    display: block;
    text-decoration: none;
    color: inherit;
    border-radius: 12px;
}

.acess-capsula-card:hover,
.acess-capsula-link > a:focus-visible .acess-capsula-card {
    box-shadow: 0 10px 24px rgba(0,0,0,0.1);
    border-color: #DDD;
    background-color: #EBEFF5;
}

.acess-capsula-card_cap:hover,
.acess-capsula-link > a:focus-visible .acess-capsula-card_cap {
    box-shadow: 0 10px 24px rgba(0,0,0,0.1);
    border-color: #DDD;
    background-color: #EBEFF5;
}

.acess-capsula-icon {
    width: 48px;
    height: 48px;
    margin-bottom: 16px;
    color: var(--acess-primary);
}

.acess-capsula-titulo {
    font-size: 20px;
    font-weight: 700;
    margin: 0 0 8px;
    color: var(--acess-primary);
}

.acess-capsula-content {
    flex: 1;
    display: flex;
    flex-direction: column;
}

.acess-capsula-descricao {
    color: #666;
    margin-bottom: 16px;
    line-height: 1.5;
    font-size: 16px;
}

/* Tags de deficiência */
.acess-capsula-tags {
    display: flex;
    flex-wrap: wrap;
    gap: 8px;
    margin-bottom: 16px;
}

.acess-tag {
    display: inline-flex;
    align-items: center;
    padding: 6px 12px;
    border-radius: 100px;
    font-size: 13px;
    font-weight: 600;
    gap: 6px;
}

.acess-tag.visual {
    background-color: rgba(171, 63, 221, 0.1);
    color: var(--acess-visual);
}

.acess-tag.auditiva {
    background-color: rgba(247, 181, 0, 0.1);
    color: var(--acess-hearing);
}

.acess-tag.motora {
    background-color: rgba(229, 46, 77, 0.1);
    color: var(--acess-motor);
}

.acess-tag.cognitiva {
    background-color: rgba(51, 182, 121, 0.1);
    color: var(--acess-cognitive);
}

.acess-tag-dot {
    width: 8px;
    height: 8px;
    border-radius: 50%;
}

.acess-tag.visual .acess-tag-dot {
    background-color: var(--acess-visual);
}

.acess-tag.auditiva .acess-tag-dot {
    background-color: var(--acess-hearing);
}

.acess-tag.motora .acess-tag-dot {
    background-color: var(--acess-motor);
}

.acess-tag.cognitiva .acess-tag-dot {
    background-color: var(--acess-cognitive);
}

/* Tipos de recursos */
.acess-capsula-recursos {
    display: flex;
    flex-wrap: wrap;
    gap: 8px;
    margin-bottom: 16px;
    margin-top: auto;
}

.acess-recurso-tag {
    display: inline-flex;
    align-items: center;
    padding: 6px 12px;
    border-radius: 4px;
    font-size: 12px;
    background-color: #F1F5F9;
    color: #475569;
    gap: 6px;
}

.acess-capsula-btn {
    display: inline-block;
    padding: 10px 20px;
    background-color: var(--acess-primary);
    color: white;
    border-radius: 8px;
    text-decoration: none;
    font-weight: 600;
    font-size: 14px;
    transition: all 0.2s ease;
    text-align: center;
    border: none;
    cursor: pointer;
    margin-top: 10px;
}

.acess-capsula-btn:hover {
    background-color: #0A2A5E;
}

/* Filtros ativos wrapper */
.acess-active-filters-wrap {
    display: flex;
    align-items: center;
    flex-wrap: wrap;
    gap: 10px;
    margin: 30px 0;
    justify-content: flex-start;
}

/* Filtros ativos */
.acess-active-filters {
    display: flex;
    flex-wrap: wrap;
    gap: 10px;
}

.acess-filter-tag {
    display: inline-flex;
    align-items: center;
    padding: 6px 12px;
    background-color: #F1F5F9;
    border-radius: 100px;
    font-size: 14px;
    color: #475569;
    font-weight: 500;
}

.acess-remove-btn {
    background: none;
    border: none;
    cursor: pointer;
    display: flex;
    align-items: center;
    justify-content: center;
    width: 18px;
    height: 18px;
    padding: 0;
    margin-left: 6px;
    color: #64748B;
    border-radius: 50%;
}

.acess-remove-btn:hover {
    color: #E11D48;
    background-color: rgba(225, 29, 72, 0.1);
}

.acess-clear-all {
    background: none;
    border: none;
    color: #007D7A;
    font-size: 14px;
    font-weight: 600;
    cursor: pointer;
    padding: 8px 16px;
    border-radius: 100px;
    transition: all 0.2s ease;
}

.acess-clear-all:hover {
    background-color: #006969;
    color: white;
}

/* Contagem e ordenação */
.acess-results-header {
    display: flex;
    justify-content: space-between;
    align-items: center;
    margin-bottom: 20px;
}

.acess-results-count_cap {
    font-size: 14px;
    color: #64748B;
    max-width: 1142px;
    margin: auto;
    display: flex;
    justify-content: end;
    padding: 5px 0;
}

.acess-sort-btn {
    background: none;
    border: 1px solid #E0E0E0;
    padding: 8px 16px;
    border-radius: 100px;
    font-size: 14px;
    display: inline-flex;
    align-items: center;
    gap: 8px;
    cursor: pointer;
    color: #64748B;
}

/* Mensagem vazia */
.acess-empty {
    text-align: center;
    padding: 60px 20px;
    background-color: #F9FAFB;
    border-radius: 12px;
    margin-top: 40px;
}

.acess-empty-icon {
    width: 48px;
    height: 48px;
    margin-bottom: 16px;
    color: #94A3B8;
}

/* Responsividade */
@media (max-width: 768px) {
    .acess-title-large {
        font-size: 36px;
    }
    
    .acess-filter-container {
        padding: 15px;
        top: -20px;
        margin: 0 10px;
    }
    
    .acess-dropdown {
        width: 100%;
        min-width: 100%;
    }
    
    .acess-dropdown-content {
        width: 100%;
        min-width: 100%;
    }
    
    .acess-hero {
        padding: 90px 20px 40px 20px;
    }
    
    .acess-section-title {
        font-size: 28px;
    }
    
    .acess-grid {
        grid-template-columns: 1fr;
    }
    
    .acess-filter-group {
        flex-direction: column;
        gap: 8px;
    }
}







/* Nova Rota Temática CSS - Design Moderno e Acessível */

:root {
    /* Cores principais */
    --rota-primary: #006969;
    --rota-primary-light: #006969;
    --rota-secondary: #025257;
    --rota-secondary-light: #006969;
    --rota-accent: #70E0DF;
    
    /* Cores de deficiências */
    --rota-visual: #AB3FDD;
    --rota-auditiva: #F7B500;
    --rota-motora: #E52E4D;
    --rota-cognitiva: #33B679;
    
    /* Cores neutras */
    --rota-text: #1e293b;
    --rota-text-light: #64748b;
    --rota-border: #e2e8f0;
    --rota-background: #f8fafc;
    --rota-card: #ffffff;
    
    /* Sombras */
    --rota-shadow-sm: 0 2px 4px rgba(0, 0, 0, 0.05);
    --rota-shadow: 0 4px 12px rgba(0, 0, 0, 0.08);
    --rota-shadow-lg: 0 10px 30px rgba(0, 0, 0, 0.12);
    
    /* Arredondamentos */
    --rota-radius-sm: 8px;
    --rota-radius: 12px;
    --rota-radius-lg: 16px;
    
    /* Espaçamentos */
    --rota-space-xs: 4px;
    --rota-space-sm: 8px;
    --rota-space: 16px;
    --rota-space-md: 24px;
    --rota-space-lg: 32px;
    --rota-space-xl: 48px;
    
    /* Transições */
    --rota-transition: all 0.2s ease;
    --rota-transition-slow: all 0.3s ease;
  }
  
  /* Reset e base */
  *, *::before, *::after {
    box-sizing: border-box;
  }
  
  body {
    margin: 0;
    padding: 0;
    color: var(--rota-text);
    background-color: var(--rota-background);
    line-height: 1.5;
  }
  
  a {
    color: var(--rota-secondary);
    text-decoration: none;
    transition: var(--rota-transition);
  }
  
  a:hover {
    color: var(--rota-primary);
  }
  
  /* Layout principal */
  .rota-layout {
    display: flex;
    min-height: 100vh;
  }
  
  /* Sidebar minimalista */
  .rota-sidebar {
    background-color: var(--rota-card);
    border-right: 1px solid var(--rota-border);
    display: flex;
    flex-direction: column;
    height: 100vh;
    position: sticky;
    top: 0;
    width: 70px;
    z-index: 100;
  }
  
  .rota-sidebar__logo {
    align-items: center;
    border-bottom: 1px solid var(--rota-border);
    display: flex;
    height: 70px;
    justify-content: center;
    padding: var(--rota-space-sm);
  }
  
  .rota-sidebar__logo img {
    height: auto;
    max-height: 32px;
    max-width: 36px;
  }
  
  .rota-sidebar__nav {
    display: flex;
    flex-direction: column;
    flex: 1;
    padding: var(--rota-space) 0;
  }
  
  .rota-sidebar__nav-item {
    align-items: center;
    color: var(--rota-text-light);
    display: flex;
    height: 60px;
    justify-content: center;
    position: relative;
    transition: var(--rota-transition);
    width: 100%;
  }
  
  .rota-sidebar__nav-item svg {
    height: 20px;
    width: 20px;
  }
  
  .rota-sidebar__nav-item:hover, 
  .rota-sidebar__nav-item.active {
    color: var(--rota-secondary);
  }
  
  .rota-sidebar__nav-item.active::before {
    background-color: var(--rota-secondary);
    content: '';
    height: 60%;
    left: 0;
    position: absolute;
    top: 20%;
    width: 3px;
  }
  
  .rota-sidebar__tooltip {
    background-color: var(--rota-text);
    border-radius: var(--rota-radius-sm);
    color: white;
    font-size: 12px;
    left: 100%;
    margin-left: var(--rota-space);
    opacity: 0;
    padding: 6px 10px;
    pointer-events: none;
    position: absolute;
    transform: translateX(-10px);
    transition: var(--rota-transition);
    white-space: nowrap;
    z-index: 10;
  }
  
  .rota-sidebar__tooltip::before {
    border-color: transparent var(--rota-text) transparent transparent;
    border-style: solid;
    border-width: 5px 5px 5px 0;
    content: '';
    height: 0;
    left: -5px;
    position: absolute;
    top: calc(50% - 5px);
    width: 0;
  }
  
  .rota-sidebar__nav-item:hover .rota-sidebar__tooltip {
    opacity: 1;
    transform: translateX(0);
  }
  
  .rota-sidebar__user {
    border-top: 1px solid var(--rota-border);
    display: flex;
    justify-content: center;
    padding: var(--rota-space-sm) 0;
  }
  
  .rota-sidebar__user-button {
    background: none;
    border: none;
    color: var(--rota-text-light);
    cursor: pointer;
    height: 40px;
    padding: 0;
    transition: var(--rota-transition);
    width: 40px;
  }
  
  .rota-sidebar__user-button:hover {
    color: var(--rota-secondary);
  }
  
  .rota-sidebar__user-button svg {
    height: 20px;
    width: 20px;
  }
  
  /* Conteúdo principal */
  .rota-main {
    flex: 1;
    background-color: #EBEFF5;
  }
  
  /* Barra de navegação superior */
  .rota-header {
    align-items: center;
    background-color: var(--rota-card);
    border-bottom: 1px solid var(--rota-border);
    display: flex;
    height: 70px;
    justify-content: space-between;
    padding: 0 var(--rota-space-lg);
    position: sticky;
    top: 0;
    z-index: 50;
  }
  
  .rota-breadcrumb {
    align-items: center;
    display: flex;
    font-size: 14px;
    gap: var(--rota-space-sm);
  }
  
  .rota-breadcrumb__link {
    color: var(--rota-secondary);
    font-weight: 500;
  }
  
  .rota-breadcrumb__link:hover {
    text-decoration: underline;
  }
  
  .rota-breadcrumb svg {
    color: var(--rota-text-light);
  }
  
  .rota-actions {
    display: flex;
    gap: var(--rota-space-sm);
  }
  
  .rota-action-btn {
    align-items: center;
    background-color: transparent;
    border: 1px solid var(--rota-border);
    border-radius: var(--rota-radius-sm);
    color: var(--rota-text);
    cursor: pointer;
    display: flex;
    font-size: 14px;
    font-weight: 500;
    gap: var(--rota-space-sm);
    padding: 8px var(--rota-space);
    transition: var(--rota-transition);
  }
  
  .rota-action-btn:hover {
    background-color: var(--rota-background);
    border-color: var(--rota-secondary);
    color: var(--rota-secondary);
  }
  
  /* Hero da rota */
  .rota-hero {
    background-color: var(--rota-card);
    border-radius: 0 0 var(--rota-radius-lg) var(--rota-radius-lg);
    box-shadow: var(--rota-shadow);
    margin-bottom: var(--rota-space-lg);
    overflow: hidden;
    position: relative;
  }
  
  .rota-hero__background {
    height: 240px;
    overflow: hidden;
    position: relative;
  }
  
  .rota-hero__img {
    height: 100%;
    object-fit: cover;
    width: 100%;
  }
  
  .rota-hero__gradient {
    background: linear-gradient(to bottom, rgba(0, 0, 0, 0.3), rgba(0, 0, 0, 0.7));
    height: 100%;
    left: 0;
    position: absolute;
    top: 0;
    width: 100%;
    z-index: 2;
  }
  
  .rota-hero__content {
    align-items: center;
    display: flex;
    flex-direction: column;
    margin-top: -80px;
    padding: 0 var(--rota-space-lg) var(--rota-space-lg);
    position: relative;
    text-align: center;
    z-index: 3;
  }
  
  .rota-hero__icon-wrap {
    margin-bottom: var(--rota-space);
  }
  
  .rota-hero__icon {
    align-items: center;
    background: linear-gradient(135deg, var(--rota-primary) 0%, var(--rota-primary-light) 100%);
    border-radius: 50%;
    box-shadow: var(--rota-shadow);
    color: white;
    display: flex;
    height: 100px;
    justify-content: center;
    width: 100px;
  }
  
  .rota-hero__icon img,
  .rota-hero__icon svg {
    height: 50px;
    width: 50px;
  }
  
  .rota-hero__title {
    color: #024248;
    font-size: 32px;
    font-weight: 700;
    margin: 0 0 var(--rota-space-sm);
  }
  
  .rota-hero__description {
    color: #333840;
    font-size: 16px;
    margin: 0 0 var(--rota-space-md);
    max-width: 700px;
  }
  
  .rota-hero__meta {
    background-color: var(--rota-card);
    border-radius: var(--rota-radius);
    display: flex;
    flex-wrap: wrap;
    gap: var(--rota-space-md);
    justify-content: center;
    padding: var(--rota-space);
  }
  
  .rota-hero__stat {
    align-items: center;
    color: var(--rota-text-light);
    display: flex;
    font-size: 14px;
    gap: var(--rota-space-sm);
  }
  
  .rota-hero__stat svg {
    color: var(--rota-secondary);
  }
  
  /* Tabs de navegação */
  .rota-tabs {
    background-color: var(--rota-card);
    border-radius: 0 0 var(--rota-radius-lg) var(--rota-radius-lg);
    box-shadow: 0 4px 6px -1px rgba(0, 0, 0, 0.1);
    margin-top: var(--rota-space-md);
    position: sticky;
    top: 70px;
    z-index: 40;
  }
  
  .rota-tabs__nav {
    display: flex;
    padding: 0 var(--rota-space-lg);
    position: relative;
    justify-content: center;
    gap: 10px;
    padding-bottom: 10px;
  }
  
  .rota-tabs__link {
    align-items: center;
    color: white;
    display: flex;
    font-size: 14px;
    font-weight: 500;
    gap: var(--rota-space-sm);
    padding: var(--rota-space) var(--rota-space-md);
    position: relative;
    text-decoration: none;
    transition: var(--rota-transition);
    white-space: nowrap;
    z-index: 1;
    background: #007D7A;
    border-radius: 20px;
  }
  
  .rota-tabs__link:hover {
    color: white;
    background-color: #006969;
  }
  
  .rota-tabs__link.active {
    background: #024248;
    color: white;
    border-radius: 20px;
  }
  
  .rota-tabs__link svg {
    height: 18px;
    width: 18px;
  }
  
  .rota-tabs__indicator {
    background-color: var(--rota-secondary-light);
    border-radius: var(--rota-radius) var(--rota-radius) 0 0;
    bottom: 0;
    height: 3px;
    position: absolute;
    transition: var(--rota-transition-slow);
  }
  
  /* Container de conteúdo */
  .rota-content {
    padding: var(--rota-space-lg);
  }
  
  /* Seções */
  .rota-section {
    background-color: var(--rota-card);
    border-radius: var(--rota-radius-lg);
    box-shadow: var(--rota-shadow);
    display: none;
    margin-bottom: var(--rota-space-lg);
    overflow: hidden;
  }
  
  .rota-section--active {
    display: block;
  }
  
  .rota-section__header {
    border-bottom: 1px solid var(--rota-border);
    padding: var(--rota-space-md) var(--rota-space-lg);
  }
  
  .rota-section__header--accent {
    background: linear-gradient(135deg, var(--rota-primary) 0%, var(--rota-primary-light) 100%);
    border-bottom: none;
  }
  
  .rota-section__title {
    align-items: center;
    color: var(--rota-text);
    display: flex;
    font-size: 22px;
    font-weight: 600;
    gap: var(--rota-space);
    margin: 0;
  }
  
  .rota-section__title--light {
    color: white;
  }
  
  .rota-section__icon {
    color: var(--rota-primary);
    height: 24px;
    width: 24px;
  }
  
  .rota-section__icon--light {
    color: white;
  }
  
  .rota-section__content {
    padding: var(--rota-space-lg);
  }
  
  .rota-section__intro {
    margin-bottom: var(--rota-space-lg);
  }
  
  /* Conteúdo rico */
  .rota-section__content h2 {
    color: var(--rota-text);
    font-size: 20px;
    font-weight: 600;
    margin: var(--rota-space-lg) 0 var(--rota-space);
  }
  
  .rota-section__content h3 {
    color: var(--rota-text);
    font-size: 18px;
    font-weight: 600;
    margin: 0;margin-bottom: 10px;
  }
  
  .rota-section__content p {
    color: var(--rota-text-light);
    line-height: 1.6;
    margin: 0 0 var(--rota-space);
  }
  

  
  .rota-section__content ul, 
  .rota-section__content ol {
    color: var(--rota-text-light);
    line-height: 1.6;
    margin: 0 0 var(--rota-space);
    padding-left: var(--rota-space-lg);
  }
  
  .rota-section__content li {
    margin-bottom: var(--rota-space-sm);
  }
  
  /* Citação */
  .rota-quote {
    background-color: var(--rota-background);
    border-radius: var(--rota-radius);
    margin: var(--rota-space-lg) 0;
    padding: var(--rota-space-lg);
    position: relative;
  }
  
  .rota-quote__icon {
    color: var(--rota-primary-light);
    left: var(--rota-space-lg);
    opacity: 0.2;
    position: absolute;
    top: var(--rota-space-lg);
  }
  
  .rota-quote__text {
    color: var(--rota-text);
    font-size: 18px;
    font-style: italic;
    line-height: 1.6;
    margin: 0;
    padding-left: var(--rota-space-xl);
    position: relative;
    z-index: 1;
  }
  
  /* Etapas */
  .rota-steps {
    counter-reset: step;
    margin: var(--rota-space-lg) 0;
  }
  
  .rota-steps__item {
    border-left: 2px solid var(--rota-border);
    display: flex;
    margin-bottom: var(--rota-space-md);
    padding-bottom: var(--rota-space-md);
    padding-left: var(--rota-space-lg);
    position: relative;
  }
  
  .rota-steps__item:last-child {
    border-left: 2px dashed var(--rota-border);
    margin-bottom: 0;
    padding-bottom: 0;
  }
  
  .rota-steps__number {
    align-items: center;
    background-color: var(--rota-secondary);
    border-radius: 50%;
    color: white;
    display: flex;
    font-weight: 600;
    height: 36px;
    justify-content: center;
    left: -18px;
    position: absolute;
    top: 0;
    width: 36px;
  }
  
  .rota-steps__content {
    padding-left: var(--rota-space);
  }
  
  .rota-steps__title {
    color: var(--rota-text);
    font-size: 18px;
    font-weight: 600;
    margin: 0 0 var(--rota-space-sm);
  }
  
  .rota-steps__text {
    color: var(--rota-text-light);
    margin: 0;
  }
  
  /* Cápsulas */
  .rota-capsulas {
    display: grid;
    gap: var(--rota-space-lg);
    grid-template-columns: repeat(auto-fill, minmax(300px, 1fr));
  }
  
  .rota-capsula {
    background-color: var(--rota-card);
    border: 1px solid var(--rota-border);
    border-radius: var(--rota-radius);
    box-shadow: var(--rota-shadow-sm);
    display: flex;
    flex-direction: column;
    overflow: hidden;
    position: relative;
    transition: var(--rota-transition);
  }
  
  .rota-capsula:hover {
    box-shadow: var(--rota-shadow);
    transform: translateY(-4px);
  }
  
  .rota-capsula--destaque {
    border: 2px solid var(--rota-secondary);
  }
  
  .rota-capsula__header {
    position: relative;
  }
  
  .rota-capsula__image {
    height: 160px;
    overflow: hidden;
    position: relative;
  }
  
  .rota-capsula__image img {
    height: 100%;
    object-fit: cover;
    transition: var(--rota-transition-slow);
    width: 100%;
  }
  
  .rota-capsula:hover .rota-capsula__image img {
    transform: scale(1.05);
  }
  
  .rota-capsula__overlay {
    background: linear-gradient(to bottom, rgba(0,0,0,0) 0%, rgba(0,0,0,0.7) 100%);
    bottom: 0;
    height: 50%;
    left: 0;
    position: absolute;
    width: 100%;
  }
  
  .rota-capsula__icon {
    align-items: center;
    background: linear-gradient(135deg, var(--rota-primary) 0%, var(--rota-primary-light) 100%);
    color: white;
    display: flex;
    height: 120px;
    justify-content: center;
    width: 100%;
  }
  
  .rota-capsula__icon svg {
    height: 48px;
    width: 48px;
  }
  
  .rota-capsula__labels {
    display: flex;
    justify-content: space-between;
    left: 0;
    padding: var(--rota-space);
    position: absolute;
    right: 0;
    top: 0;
    z-index: 1;
  }
  
  .rota-capsula__ribbon {
    background-color: var(--rota-secondary);
    border-radius: var(--rota-radius-sm);
    box-shadow: var(--rota-shadow-sm);
    color: white;
    font-size: 12px;
    font-weight: 600;
    padding: 4px var(--rota-space-sm);
  }
  
  .rota-capsula__category {
    align-items: center;
    background-color: rgba(255, 255, 255, 0.9);
    border-radius: var(--rota-radius-sm);
    box-shadow: var(--rota-shadow-sm);
    color: var(--rota-text-light);
    display: flex;
    font-size: 12px;
    font-weight: 500;
    gap: 4px;
    padding: 4px var(--rota-space-sm);
  }
  
  .rota-capsula__body {
    display: flex;
    flex-direction: column;
    flex: 1;
    padding: var(--rota-space);
  }
  
  .rota-capsula__title {
    color: var(--rota-text);
    font-size: 18px;
    font-weight: 600;
    margin: 0 0 var(--rota-space);
  }
  
  .rota-capsula__description {
    color: var(--rota-text-light);
    display: -webkit-box;
    font-size: 14px;
    line-height: 1.5;
    margin-bottom: var(--rota-space);
    overflow: hidden;
    -webkit-box-orient: vertical;
    -webkit-line-clamp: 3;
  }
  
  .rota-capsula__accessibility-types {
    display: flex;
    flex-wrap: wrap;
    gap: var(--rota-space-sm);
    margin-bottom: var(--rota-space);
    margin-top: auto;
  }
  
  .rota-capsula__type {
    align-items: center;
    border-radius: var(--rota-radius-sm);
    display: flex;
    font-size: 12px;
    gap: 4px;
    padding: 4px var(--rota-space-sm);
  }
  
  .rota-capsula__type--visual {
    background-color: rgba(171, 63, 221, 0.1);
    color: var(--rota-visual);
  }
  
  .rota-capsula__type--auditiva {
    background-color: rgba(247, 181, 0, 0.1);
    color: var(--rota-auditiva);
  }
  
  .rota-capsula__type--motora {
    background-color: rgba(229, 46, 77, 0.1);
    color: var(--rota-motora);
  }
  
  .rota-capsula__type--cognitiva {
    background-color: rgba(51, 182, 121, 0.1);
    color: var(--rota-cognitiva);
  }
  
  .rota-capsula__footer {
    padding: var(--rota-space);
  }
  
  .rota-capsula__button {
    align-items: center;
    background-color: var(--rota-primary);
    border: none;
    border-radius: var(--rota-radius-sm);
    color: white;
    cursor: pointer;
    display: flex;
    font-size: 14px;
    font-weight: 600;
    gap: var(--rota-space-sm);
    justify-content: center;
    padding: var(--rota-space);
    text-align: center;
    transition: var(--rota-transition);
    width: 100%;
  }
  
  .rota-capsula__button:hover {
    background-color: var(--rota-secondary);
    color: white;
    transform: translateY(-2px);
  }
  
  /* Estado vazio */
  .rota-empty {
    align-items: center;
    background-color: var(--rota-background);
    border-radius: var(--rota-radius);
    display: flex;
    flex-direction: column;
    justify-content: center;
    padding: var(--rota-space-xl) var(--rota-space-lg);
    text-align: center;
  }
  
  .rota-empty__icon {
    color: var(--rota-text-light);
    margin-bottom: var(--rota-space);
  }
  
  .rota-empty__title {
    color: var(--rota-text);
    font-size: 18px;
    font-weight: 600;
    margin: 0 0 var(--rota-space-sm);
  }
  
  .rota-empty__text {
    color: var(--rota-text-light);
    margin: 0;
    max-width: 400px;
  }
  
  /* Materiais extras */
  .rota-materiais {
    display: grid;
    gap: var(--rota-space);
    grid-template-columns: repeat(auto-fill, minmax(300px, 1fr));
  }
  
  .rota-material {
    background-color: var(--rota-background);
    border-radius: var(--rota-radius);
    box-shadow: var(--rota-shadow-sm);
    padding: var(--rota-space);
    transition: var(--rota-transition);
  }
  
  .rota-material:hover {
    box-shadow: var(--rota-shadow);
    transform: translateY(-2px);
  }
  
  /* Rodapé */
  .rota-footer {
    background-color: var(--rota-card);
    border-top: 1px solid var(--rota-border);
    margin-top: var(--rota-space-xl);
    padding: var(--rota-space-lg);
  }
  
  .rota-footer__content {
    display: grid;
    gap: var(--rota-space-lg);
    grid-template-columns: 1fr 1fr;
  }
  
  .rota-footer__title {
    color: var(--rota-text);
    font-size: 16px;
    font-weight: 600;
    margin: 0 0 var(--rota-space);
  }
  
  .rota-footer__nav,
  .rota-footer__links {
    display: flex;
    flex-direction: column;
    gap: var(--rota-space-sm);
  }
  
  .rota-footer__link {
    color: var(--rota-text-light);
    font-size: 14px;
    transition: var(--rota-transition);
  }
  
  .rota-footer__link:hover {
    color: var(--rota-secondary);
    padding-left: var(--rota-space-sm);
  }
  
  /* Botão para voltar ao topo */
  .rota-back-to-top {
    align-items: center;
    background-color: var(--rota-primary);
    border: none;
    border-radius: 50%;
    bottom: var(--rota-space-lg);
    box-shadow: var(--rota-shadow);
    color: white;
    cursor: pointer;
    display: flex;
    height: 50px;
    justify-content: center;
    opacity: 0;
    position: fixed;
    right: var(--rota-space-lg);
    transform: translateY(20px);
    transition: var(--rota-transition);
    visibility: hidden;
    width: 50px;
    z-index: 100;
  }
  
  .rota-back-to-top.visible {
    opacity: 1;
    transform: translateY(0);
    visibility: visible;
  }
  
  .rota-back-to-top:hover {
    background-color: var(--rota-secondary);
    transform: translateY(-4px);
  }
  
  .rota-back-to-top svg {
    height: 20px;
    width: 20px;
  }
  
  /* Acessibilidade */
  .skip-to-content {
    background-color: var(--rota-secondary);
    border-radius: 0 0 var(--rota-radius-sm) var(--rota-radius-sm);
    color: white;
    left: var(--rota-space);
    padding: var(--rota-space-sm) var(--rota-space);
    position: absolute;
    top: -100px;
    transition: var(--rota-transition);
    z-index: 1000;
  }
  
  .skip-to-content:focus {
    top: 0;
  }
  
  .visually-hidden {
    border: 0;
    clip: rect(0, 0, 0, 0);
    height: 1px;
    margin: -1px;
    overflow: hidden;
    padding: 0;
    position: absolute;
    width: 1px;
  }
  
  /* Responsividade */
  @media (max-width: 1024px) {
    .rota-footer__content {
      grid-template-columns: 1fr;
    }
    
    .rota-hero__title {
      font-size: 28px;
    }
    
    .rota-capsulas {
      grid-template-columns: repeat(auto-fill, minmax(280px, 1fr));
    }
  }
  
  @media (max-width: 768px) {
    .rota-header {
      padding: 0 var(--rota-space);
    }
    
    .rota-content {
      padding: var(--rota-space);
    }
    
    .rota-section__header,
    .rota-section__content {
      padding: var(--rota-space);
    }

    .rota-tabs__nav {
      justify-content: normal;
    }

    .rota-tabs {
      padding-bottom: 20px;
    }

    .capsulas-index ul {
      display: flex;
      flex-direction: row;
      overflow-x: scroll; 
      white-space: nowrap; 
      flex-wrap: nowrap;
      width: 100%; 
      -webkit-overflow-scrolling: touch; 
      scrollbar-width: none; 
      -ms-overflow-style: none; 
      scroll-snap-type: x mandatory; 
      padding: 0; 
      margin: 0 -15px; 
      padding: 0 0 15px 15px; 
      list-style: none; 
    }
    

    .rota-steps__number {
      margin-left: 20px;
    }

    .rota-steps__item{
      border: none;
    }
    
    .rota-hero__content {
      padding: 0 var(--rota-space) var(--rota-space);
    }
    
    .rota-tabs__nav {
      overflow-x: auto;
      padding: 0 var(--rota-space);
    }
    
    .rota-capsulas {
      grid-template-columns: 1fr;
    }
  }
  
  @media (max-width: 640px) {
    .rota-sidebar {
      display: none;
    }
    
    .rota-main {
      max-width: 100%;
    }
    
    .rota-hero__title {
      font-size: 24px;
    }
    
    .rota-hero__meta {
      flex-direction: column;
      gap: var(--rota-space-sm);
    }
  }



  :root {
    --primary-color: #024248;
    --primary-light: rgba(2, 66, 72, 0.1);
    --primary-dark: #013137;
    --secondary-color: #1976D2;
    --accent-color: #FF5722;
    --light-bg: #F5F9FC;
    --text-primary: #333333;
    --text-secondary: #666666;
    --text-light: #999999;
    --color-success: #25B15E;
    --color-warning: #FFC240;
    --color-danger: #F44336;
    --color-info: #2196F3;
    --border-radius: 12px;
    --shadow: 0 4px 16px rgba(0, 0, 0, 0.1);
    --transition: all 0.3s ease;
    --font-sans: 'Nunito', -apple-system, BlinkMacSystemFont, 'Segoe UI', Roboto, Oxygen, Ubuntu, Cantarell, 'Open Sans', 'Helvetica Neue', sans-serif;
    --shadow-sm: 0 1px 2px rgba(0, 0, 0, 0.05);
    --shadow-md: 0 4px 6px rgba(0, 0, 0, 0.05), 0 1px 3px rgba(0, 0, 0, 0.1);
    --shadow-lg: 0 10px 15px -3px rgba(0, 0, 0, 0.05), 0 4px 6px -2px rgba(0, 0, 0, 0.05);
}

body {
    font-family: var(--font-sans);
    background-color: var(--light-bg);
    color: var(--text-primary);
    line-height: 1.6;
}

/* Estilos para o container principal */
.route-container {
    max-width: 1142px;
    margin: 2rem auto;
    padding: 0 1rem;
}

/* Skip link para acessibilidade */
.skip-to-content {
    position: absolute;
    left: -9999px;
    top: auto;
    width: 1px;
    height: 1px;
    overflow: hidden;
    z-index: 999;
    background: var(--primary-color);
    color: white;
    text-decoration: none;
    padding: 8px 16px;
    border-radius: 0 0 var(--border-radius) var(--border-radius);
}

.skip-to-content:focus {
    left: 50%;
    transform: translateX(-50%);
    top: 0;
    width: auto;
    height: auto;
    outline: none;
}

.visually-hidden {
    position: absolute;
    width: 1px;
    height: 1px;
    padding: 0;
    margin: -1px;
    overflow: hidden;
    clip: rect(0, 0, 0, 0);
    white-space: nowrap;
    border-width: 0;
}

/* Estilo para o cabeçalho da rota */
.route-header {
    background: linear-gradient(135deg, var(--primary-color), #035963);
    color: white;
    border-radius: var(--border-radius);
    padding: 2.5rem 2rem;
    margin-bottom: 2rem;
    position: relative;
    overflow: hidden;
    box-shadow: var(--shadow);
}

.route-header::before {
    content: '';
    position: absolute;
    top: 0;
    right: 0;
    width: 200px;
    height: 200px;
    background: radial-gradient(circle at top right, rgba(255, 255, 255, 0.1), transparent 70%);
}

.route-header::after {
    content: '';
    position: absolute;
    bottom: 0;
    left: 0;
    width: 150px;
    height: 150px;
    background: radial-gradient(circle at bottom left, rgba(255, 255, 255, 0.05), transparent 70%);
}

.route-header h2 {
    font-size: 2.5rem;
    margin-bottom: 1rem;
    font-weight: 800;
    position: relative;
    z-index: 1;
    color: white;
}

.route-header p {
    font-size: 1.1rem;
    opacity: 0.9;
    max-width: 800px;
    position: relative;
    z-index: 1;
    margin-bottom: 1.5rem;
}

.route-header__icon {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    width: 80px;
    height: 80px;
    background: rgba(255, 255, 255, 0.1);
    border-radius: 50%;
    margin-bottom: 1.5rem;
}

.route-header__icon img, 
.route-header__icon svg {
    width: 50px;
    height: 50px;
    color: white;
}

.route-header__meta {
    display: flex;
    gap: 1.5rem;
    margin-top: 1.5rem;
    position: relative;
    z-index: 1;
}

.route-header__stat {
    display: flex;
    align-items: center;
    background: #215E65;
    padding: 0.5rem 1rem;
    border-radius: 30px;
    font-size: 0.9rem;
}

.route-header__stat svg {
    width: 18px;
    height: 18px;
    margin-right: 0.5rem;
    opacity: 0.8;
}

/* Estilo para os cartões de etapa */
.route-step {
    background-color: white;
    border-radius: var(--border-radius);
    padding: 2rem;
    margin-bottom: 2rem;
    box-shadow: var(--shadow);
    position: relative;
    overflow: hidden;
}

.route-step:hover {
    box-shadow: 0 8px 24px rgba(0, 0, 0, 0.15);
}

.route-step::before {
    content: '';
    position: absolute;
    left: 0;
    top: 0;
    width: 4px;
    height: 100%;
    background-color: var(--primary-color);
    border-radius: 3px;
}

.step-counter {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    width: 40px;
    height: 40px;
    background-color: var(--primary-color);
    color: white;
    border-radius: 50%;
    font-weight: bold;
    font-size: 1.2rem;
    margin-right: 1rem;
    box-shadow: 0 2px 8px rgba(2, 66, 72, 0.3);
    padding: 10px;
}

.step-header {
    display: flex;
    align-items: center;
    margin-bottom: 1.5rem;
}

.step-title {
    font-size: 1.5rem !important;
    margin: 0;
    font-weight: 700;
}

.step-subtitle {
    margin: 0 0 1.5rem 3.5rem;
    color: var(--text-secondary);
    font-size: 1rem;
}

.route-step__content {
    padding-left: 3.5rem;
}

/* Indicador de progresso */
.progress-container {
    position: sticky;
    top: 0;
    z-index: 1000;
    background-color: white;
    padding: 1rem 0;
    margin-bottom: 2rem;
    box-shadow: 0 2px 8px rgba(0, 0, 0, 0.1);
    border-radius: 10px;
}

.progress-track {
    display: flex;
    justify-content: space-between;
    align-items: center;
    max-width: 1200px;
    margin: 0 auto;
    padding: 0 1rem;
    position: relative;
}

.progress-track::before {
    content: '';
    position: absolute;
    top: 50%;
    left: 0;
    right: 0;
    height: 3px;
    background-color: #E0E0E0;
    z-index: -1;
    transform: translateY(-50%);
}

.progress-step {
    display: flex;
    flex-direction: column;
    align-items: center;
    position: relative;
}

.progress-dot {
    width: 40px;
    height: 40px;
    border-radius: 50%;
    background-color: #E0E0E0;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 20px;
    color: var(--text-secondary);
    transition: var(--transition);
    margin-bottom: 0.5rem;
    border: 2px solid #FFF;
}

.progress-label {
    font-size: 0.8rem;
    color: var(--text-secondary);
    font-weight: 500;
    text-align: center;
    max-width: 100px;
}

.progress-step.active .progress-dot {
    background-color: var(--primary-color);
    color: white;
    box-shadow: 0 0 0 3px var(--primary-light);
}

.progress-step.active .progress-label {
    color: var(--primary-color);
    font-weight: 600;
}

.progress-step.complete .progress-dot {
    background-color: var(--color-success);
    color: white;
}

.progress-fill {
    position: absolute;
    top: 50%;
    left: 0;
    height: 3px;
    background-color: var(--color-success);
    z-index: -1;
    transform: translateY(-50%);
    transition: width 0.5s ease;
}

/* Estilo para a grade de cápsulas */
.route-capsules {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 1.5rem;
    margin-top: 2rem;
}

.route-capsule {
    background-color: white;
    border-radius: var(--border-radius);
    overflow: hidden;
    box-shadow: var(--shadow-md);
    transition: transform var(--transition), box-shadow var(--transition);
    position: relative;
    cursor: pointer;
    display: flex;
    flex-direction: column;
}

.route-capsule:hover {
    background-color: #EBEFF5;
  }

.route-capsule--featured {
    border: 2px solid var(--accent-color);
}

.route-capsule--featured::after {
    content: 'Destaque';
    position: absolute;
    top: 1rem;
    right: -2rem;
    background: var(--accent-color);
    color: white;
    padding: 0.25rem 2rem;
    font-size: 0.75rem;
    font-weight: 600;
    transform: rotate(45deg);
    z-index: 1;
}

.route-capsule__image {
    height: 160px;
    position: relative;
    overflow: hidden;
}

.route-capsule__image img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    transition: transform 0.5s ease;
}

.route-capsule:hover .route-capsule__image img {
    transform: scale(1.05);
}

.route-capsule__overlay {
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    background: linear-gradient(to bottom, rgba(0,0,0,0.2), rgba(0,0,0,0.6));
}

.route-capsule__icon {
    height: 160px;
    background: linear-gradient(135deg, var(--primary-light), #f0f7f8);
    display: flex;
    align-items: center;
    justify-content: center;
}

.route-capsule__icon svg {
    width: 60px;
    height: 60px;
    color: var(--primary-color);
    opacity: 0.8;
}

.route-capsule__category {
    position: absolute;
    top: 1rem;
    left: 0;
    background-color: rgba(255, 255, 255, 0.9);
    padding: 0.4rem 1rem;
    border-radius: 0 20px 20px 0;
    font-size: 0.8rem;
    font-weight: 600;
    color: var(--primary-color);
    display: flex;
    align-items: center;
    z-index: 1;
}

.route-capsule__category svg {
    width: 14px;
    height: 14px;
    margin-right: 0.4rem;
}

.route-capsule__content {
    padding: 1.5rem;
    flex-grow: 1;
    display: flex;
    flex-direction: column;
}

.route-capsule__title {
    font-size: 18px;
    font-weight: 700;
    margin-bottom: 1rem;
    color: var(--primary-color);
    line-height: 1.3;
}

.route-capsule__tags {
    display: flex;
    flex-wrap: wrap;
    gap: 0.5rem;
    margin-bottom: 1rem;
}

.route-capsule__tag {
    background-color: var(--primary-light);
    color: var(--primary-color);
    padding: 0.25rem 0.75rem;
    border-radius: 20px;
    font-size: 0.75rem;
    display: flex;
    align-items: center;
    font-weight: 500;
}

.route-capsule__tag svg {
    width: 12px;
    height: 12px;
    margin-right: 0.3rem;
}

.route-capsule__tag--visual {
    background-color: rgba(25, 118, 210, 0.1);
    color: #1976D2;
}

.route-capsule__tag--auditiva {
    background-color: rgba(156, 39, 176, 0.1);
    color: #9C27B0;
}

.route-capsule__tag--motora {
    background-color: rgba(244, 67, 54, 0.1);
    color: #F44336;
}

.route-capsule__tag--cognitiva {
    background-color: rgba(76, 175, 80, 0.1);
    color: #4CAF50;
}

.route-capsule__description {
    font-size: 16px;
    color: var(--text-secondary);
    margin-bottom: 1.5rem;
    flex-grow: 1;
    display: -webkit-box;
    -webkit-line-clamp: 3;
    -webkit-box-orient: vertical;
    overflow: hidden;
}

.route-capsule__footer {
    padding: 0 1.5rem 1.5rem;
}

/* Botão para voltar ao topo */
.back-to-top {
    position: fixed;
    bottom: 1.5rem;
    right: 1.5rem;
    width: 48px;
    height: 48px;
    border-radius: 50%;
    background-color: var(--primary-color);
    color: white;
    display: flex;
    align-items: center;
    justify-content: center;
    cursor: pointer;
    box-shadow: var(--shadow);
    opacity: 0;
    transform: translateY(20px);
    transition: opacity 0.3s ease, transform 0.3s ease;
    z-index: 100;
}

.back-to-top.visible {
    opacity: 1;
    transform: translateY(0);
}

.back-to-top svg {
    width: 24px;
    height: 24px;
}

/* Caminho da rota */
.route-path {
    position: absolute;
    top: 70px;
    left: 30px;
    bottom: 0;
    width: 3px;
    background: linear-gradient(to bottom, var(--primary-color), transparent);
    z-index: -1;
}

.route-steps-container {
    position: relative;
    padding-left: 10px;
}

/* Conteúdo vazio */
.route-empty {
    background: white;
    padding: 3rem 2rem;
    text-align: center;
    border-radius: var(--border-radius);
    box-shadow: var(--shadow);
    max-width: 600px;
    margin: 2rem auto;
}

.route-empty__icon {
    width: 64px;
    height: 64px;
    margin: 0 auto 1.5rem;
    color: var(--text-light);
}

.route-empty__title {
    font-size: 1.5rem;
    margin-bottom: 1rem;
    color: var(--primary-color);
}

.route-empty__text {
    color: var(--text-secondary);
    margin-bottom: 0;
}

/* Quote */
.route-quote {
    background-color: var(--primary-light);
    border-radius: var(--border-radius);
    padding: 1.5rem 2rem;
    margin: 2rem 0;
    position: relative;
    border-left: 4px solid var(--primary-color);
}

.route-quote__icon {
    position: absolute;
    top: 1.5rem;
    left: 1.5rem;
    color: var(--primary-color);
    opacity: 0.2;
}

.route-quote__text {
    font-style: italic;
    color: var(--primary-color);
    margin: 0;
    font-size: 1.1rem;
}

/* Estilo para jornada */
.route-journey {
    margin: 2rem 0;
    position: relative;
}

.route-journey-item {
    display: flex;
    margin-bottom: 1.5rem;
    opacity: 0;
    animation: fadeInRight 0.5s forwards;
}

.route-journey-item:nth-child(1) { animation-delay: 0.1s; }
.route-journey-item:nth-child(2) { animation-delay: 0.2s; }
.route-journey-item:nth-child(3) { animation-delay: 0.3s; }
.route-journey-item:nth-child(4) { animation-delay: 0.4s; }

.route-journey-item::before {
    content: '';
    position: absolute;
    top: 40px;
    left: 20px;
    bottom: -40px;
    width: 2px;
    background: linear-gradient(to bottom, var(--primary-color), var(--primary-light));
    z-index: 0;
}

.route-journey-item:last-child::before {
    display: none;
}

.route-journey-number {
    position: relative;
    z-index: 1;
    width: 40px;
    height: 40px;
    background-color: var(--primary-color);
    color: white;
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    font-weight: bold;
    margin-right: 1.5rem;
    flex-shrink: 0;
}

.route-journey-content {
    background-color: white;
    border-radius: var(--border-radius);
    padding: 1.5rem;
    box-shadow: var(--shadow);
    flex-grow: 1;
}

.route-journey-title {
    font-weight: 700;
    margin-top: 0;
    margin-bottom: 0.5rem;
    color: var(--primary-color);
}

.route-journey-text {
    margin-bottom: 0;
    color: var(--text-secondary);
}

/* Layout com sidebar */
.route-layout {
    display: grid;
    grid-template-columns: 250px 1fr;
    gap: 2rem;
    position: relative;
}

/* Sidebar de navegação */
.route-sidebar {
    position: sticky;
    top: 100px;
    align-self: start;
    max-height: calc(100vh - 120px);
    overflow-y: auto;
    border-right: 1px solid #dee2e6;
    padding-right: 1.5rem;
}

.route-sidebar__content {
    padding: 0;
}

.route-sidebar__title {
    font-size: 1rem;
    font-weight: 600;
    color: #495057;
    margin: 0 0 1rem 0;
    text-transform: uppercase;
    letter-spacing: 0.5px;
}

.route-sidebar__nav ul {
    list-style: none;
    padding: 0;
    margin: 0;
    display: flex;
    flex-direction: column;
    gap: 5px;
}

.route-sidebar__nav li {
    padding-left: 0;
}

.route-sidebar__link {
    display: flex;
    align-items: center;
    padding: 0.5rem 0.75rem;
    color: var(--primary-color, #007D7A);
    font-weight: 600;
    text-decoration: none;
    border-left: 3px solid transparent;
    font-size: 0.95rem;
    transition: all 0.2s;
}

.route-sidebar__link:hover {
    background-color: #f8f9fa;
    border-left-color: #006969;
    padding-left: 1rem;
}

.route-sidebar__link.active {
    background-color: var(--primary-color, #024248);
    font-weight: 600;
    color: white;
    border-radius: 0 20px 20px 0;
    border-left: none;
}

.route-sidebar__link svg {
    width: 18px;
    height: 18px;
    margin-right: 0.5rem;
    flex-shrink: 0;
}

/* Conteúdo principal */
.route-main-content {
    min-width: 0;
}



.btn svg {
    margin-right: 0.5rem;
    height: 20px;
}

/* Animações */
@keyframes fadeIn {
    from { opacity: 0; transform: translateY(20px); }
    to { opacity: 1; transform: translateY(0); }
}

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

.animate-in {
    animation: fadeIn 0.5s forwards;
}

/* Media Queries */
@media (max-width: 992px) {
    .route-layout {
        grid-template-columns: 200px 1fr;
        gap: 1.5rem;
    }

    .route-capsules {
        grid-template-columns: repeat(auto-fill, minmax(280px, 1fr));
    }

    .route-header h2 {
        font-size: 2rem;
    }
}

@media (max-width: 768px) {
    .route-layout {
        grid-template-columns: 1fr;
    }

    .route-sidebar {
        border-right: none;
        border-bottom: 1px solid #dee2e6;
        padding-right: 0;
        padding-bottom: 1rem;
    }

    .route-sidebar__content {
        position: static;
        max-height: none;
    }

    .route-sidebar__nav ul {
        flex-direction: row;
        flex-wrap: wrap;
        gap: 0.5rem;
    }

    .route-sidebar__link {
        border-left: none;
        border-bottom: 2px solid transparent;
        padding: 0.5rem 0.75rem;
        font-size: 0.85rem;
        white-space: nowrap;
    }

    .route-sidebar__link:hover {
        border-left: none;
        border-bottom-color: #006969;
        padding-left: 0.75rem;
    }

    .route-sidebar__link.active {
        border-radius: 20px;
        border-left: none;
    }

    .route-header {
        padding: 2rem 1.5rem;
    }

    .route-container {
      padding: 90px 10px 0px 10px;
    }

    .route-header h2 {
        font-size: 1.75rem;
    }

    .route-capsules {
        grid-template-columns: 1fr;
    }

    .progress-label {
        display: none;
    }

    .route-header__meta {
        flex-wrap: wrap;
        gap: 0.75rem;
    }

    .step-counter {
        width: 35px;
        height: 35px;
        font-size: 1rem;
    }

    .step-title {
        font-size: 1.25rem;
    }

    .step-subtitle,
    .route-step__content {
        padding-left: 0;
    }
}

@media (max-width: 576px) {
    .route-sidebar__link svg {
        display: none;
    }

    .route-sidebar__link {
        font-size: 0.8rem;
        padding: 0.4rem 0.6rem;
    }
}



:root {
  --color-primary: #004E50;
  --color-primary-light: rgba(0, 78, 80, 0.08);
  --color-secondary: #1976D2;
  --color-accent: #FF6B35;
  --color-background: #F8F9FA;
  --color-card: #FFFFFF;
  --color-text: #212121;
  --color-text-secondary: #616161;
  --color-border: #E0E0E0;
  
  --shadow-sm: 0 1px 3px rgba(0, 0, 0, 0.05);
  --shadow-md: 0 4px 6px rgba(0, 0, 0, 0.05), 0 1px 3px rgba(0, 0, 0, 0.1);
  --shadow-lg: 0 10px 15px -3px rgba(0, 0, 0, 0.05), 0 4px 6px -2px rgba(0, 0, 0, 0.05);
  
  --radius-sm: 4px;
  --radius-md: 8px;
  --radius-lg: 12px;
  --radius-xl: 16px;
  
  --transition: all 0.3s ease;
  
  --font-sans: 'Nunito', -apple-system, BlinkMacSystemFont, 'Segoe UI', Roboto, sans-serif;
}

body {
  font-family: var(--font-sans);
  background-color: var(--color-background);
  color: var(--color-text);
  line-height: 1.6;
  margin: 0;
  padding: 0;
}

/* Acessibilidade */
.skip-to-content {
  position: absolute;
  left: -9999px;
  top: auto;
  width: 1px;
  height: 1px;
  overflow: hidden;
  z-index: 999;
  background: var(--color-primary);
  color: white;
  text-decoration: none;
  padding: 8px 16px;
  border-radius: 0 0 var(--radius-md) var(--radius-md);
}

.skip-to-content:focus {
  left: 50%;
  transform: translateX(-50%);
  top: 0;
  width: auto;
  height: auto;
  outline: none;
}

.visually-hidden {
  position: absolute;
  width: 1px;
  height: 1px;
  padding: 0;
  margin: -1px;
  overflow: hidden;
  clip: rect(0, 0, 0, 0);
  white-space: nowrap;
  border-width: 0;
}

/* Layout principal */
.main-layout {
  display: flex;
  flex-direction: column;
  min-height: 100vh;
}

.main-content-capsulas {
  flex: 1;
  padding: 2rem 1rem;
  margin: 0 auto;
  width: 100%;
}

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

/* Cabeçalho do gerador */
.gerador-rotas__header {
  text-align: center;
  max-width: 800px;
  margin: 0 auto 2rem;
}

.gerador-rotas__header h1 {
  font-size: 2.5rem;
  color: var(--color-primary);
  margin-bottom: 1.5rem;
  font-weight: 800;
}

.gerador-rotas__intro {
  color: var(--color-text-secondary);
  margin-bottom: 2rem;
  font-size: 1.1rem;
}

.section-heading {
  font-size: 40px;
  color: var(--color-text);
  margin-bottom: 1.5rem;
  font-weight: 600;
}

.section-heading-caps {
  font-size: 26px;
  color: #024248;
  margin-bottom: -24px;
  font-weight: 600;
}

.hearder-search_cap{
  background-color: white;
  max-width: 1142px;
  margin: auto;
  }

.space-header_cap-div{
  margin: 60px 0;
  display: flex;
  flex-direction: column;
  gap: 8px;
}

.space-header_cap{
    display: flex;
    flex-direction: column;
    gap: 15px;

}
/* Conteúdo do formulário */
.gerador-rotas__content {
  background-color: var(--color-card);
  border-radius: var(--radius-lg);
  padding: 3rem;
  box-shadow: var(--shadow-md);
  max-width: 1000px;
  margin: 0 auto;
}

.gerador-rotas__question {
  margin-bottom: 2rem;
}

.rotas-option {
  position: relative;
  background-color: white;
  border: 2px solid var(--color-border);
  border-radius: var(--radius-md);
  transition: var(--transition);
  overflow: hidden;
  cursor: pointer;
}

.rotas-option:hover {
  border-color: var(--color-primary);
  box-shadow: var(--shadow-md);
  transform: translateY(-3px);
}

.rotas-option:focus {
  outline: none;
  border-color: var(--color-primary);
  box-shadow: 0 0 0 3px var(--color-primary-light);
}

.rotas-option__label {
  cursor: pointer;
  display: block;
  width: 100%;
  height: 100%;
}

.rotas-option__content {
  display: flex;
  align-items: center;
  padding: 1.5rem;
}

.rotas-option__checkbox {
  appearance: none;
  -webkit-appearance: none;
  width: 22px;
  height: 22px;
  border: 2px solid var(--color-border);
  border-radius: 4px;
  cursor: pointer;
  flex-shrink: 0;
  margin-right: 1rem;
  position: relative;
  transition: var(--transition);
  background-color: white;
}

.rotas-option__checkbox:checked {
  background-color: var(--color-primary);
  border-color: var(--color-primary);
}

.rotas-option__checkbox:checked::after {
  content: '';
  position: absolute;
  left: 6px;
  top: 2px;
  width: 6px;
  height: 12px;
  border: solid white;
  border-width: 0 2.5px 2.5px 0;
  transform: rotate(45deg);
}

/* Estilos para cartões selecionados */
.rotas-option.selected {
  border-color: var(--color-primary);
  background-color: var(--color-primary-light);
}

.rotas-option.selected .rotas-option__checkbox {
  border-color: var(--color-primary);
}

/* Estilo do "Marcar todos" */
.rotas-option--select-all {
  background-color: var(--color-primary-light);
  border-style: dashed;
}

.rotas-option--select-all .rotas-option__text p {
  font-weight: 700;
  color: var(--color-primary);
}

.rotas-option__icon {
  display: flex;
  align-items: center;
  justify-content: center;
  width: 60px;
  height: 60px;
  background-color: var(--color-primary-light);
  border-radius: var(--radius-md);
  margin-right: 1.25rem;
  flex-shrink: 0;
  color: var(--color-primary);
  transition: var(--transition);
}

.rotas-option.selected .rotas-option__icon {
  background-color: var(--color-primary);
  color: white;
}

.rotas-option__icon svg {
  width: 30px;
  height: 30px;
}

.rotas-option__text {
  flex: 1;
}

.rotas-option__text p {
  margin: 0;
  font-weight: 500;
  font-size: 1rem;
  color: var(--color-text);
}

/* Botão de ação */
.gerador-rotas__action {
  display: flex;
  justify-content: center;
}


/* Estado de foco para uso de teclado */
body.using-keyboard *:focus {
  outline: 2px solid var(--color-primary);
  outline-offset: 2px;
}

/* Animações */
@keyframes fadeIn {
  from { opacity: 0; transform: translateY(10px); }
  to { opacity: 1; transform: translateY(0); }
}

.gerador-rotas__content {
  animation: fadeIn 0.5s ease-out forwards;
}

.rotas-option {
  animation: fadeIn 0.5s ease-out forwards;
  animation-delay: calc(var(--animation-order) * 0.1s);
}

.rotas-option:nth-child(1) { --animation-order: 1; }
.rotas-option:nth-child(2) { --animation-order: 2; }
.rotas-option:nth-child(3) { --animation-order: 3; }
.rotas-option:nth-child(4) { --animation-order: 4; }
.rotas-option:nth-child(5) { --animation-order: 5; }

/* Responsividade */
@media (max-width: 992px) {
  .gerador-rotas__content {
      padding: 2rem;
  }
  
  .gerador-rotas__header h1 {
      font-size: 2.2rem;
  }

  .space-header_cap-div{
    margin: 60px 0;
    padding: 0 20px;
  }
  
  .gerador-rotas__options {
      grid-template-columns: 1fr;
  }
}

@media (max-width: 768px) {
  .gerador-rotas__content {
      padding: 1.5rem;
  }
  
  .gerador-rotas__header h1 {
      font-size: 1.8rem;
  }
  
  .gerador-rotas__icon {
      width: 50px;
      height: 50px;
  }
  
  .section-heading {
      font-size: 1.3rem;
  }
}