* {
    margin: 0;
    padding: 0;
    box-sizing: border-box;
}

body {
    font-family: Arial, sans-serif;
    margin: 20px;
    background-color: #f4f4f4;
}

.container {
    max-width: 800px;
    margin: auto;
    background: white;
    padding: 20px;
    border-radius: 8px;
    box-shadow: 0 2px 4px rgba(0,0,0,0.1);
}

.cabecalho {
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 16px;
    margin-bottom: 30px;
}
.marca {
    color: #333;
    font-size: 1.1rem;
    font-weight: bold;
    text-decoration: none;
}
.navegacao {
    display: flex;
    align-items: center;
    gap: 14px;
}
.botao-reindexar {
    padding: 5px 9px;
    border: 1px solid #00bfa5;
    border-radius: 50px;
    background: white;
    color: #00887a;
    cursor: pointer;
    font-size: 0.8rem;
    font-weight: bold;
}
.botao-reindexar:hover {
    background: #e8faf7;
}
.navegacao a {
    color: #545454;
    font-size: 0.9rem;
    text-decoration: none;
}
.navegacao a:hover,
.navegacao a[aria-current="page"] {
    color: #00887a;
    font-weight: bold;
}

h1 {
    text-align: center;
    color: #333333;
    margin-bottom: 30px;
}

.mensagem-sucesso {
    margin: -14px 0 18px;
    padding: 10px 12px;
    border-radius: 6px;
    background: #e8faf7;
    color: #087968;
}
.estatisticas {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(150px, 1fr));
    gap: 1px;
    overflow: hidden;
    margin: 0 0 24px;
    border: 1px solid #d8eeea;
    border-radius: 8px;
    background: #d8eeea;
}
.estatisticas div {
    display: grid;
    gap: 3px;
    padding: 12px;
    background: #f6fcfb;
}
.estatisticas strong {
    color: #00887a;
    font-size: 1.1rem;
}
.estatisticas span {
    color: #545454;
    font-size: 0.8rem;
}

.sobre h1 {
    max-width: 650px;
    margin: 0 0 14px;
    color: #333;
    text-align: left;
}
.sobre h2 {
    margin: 32px 0 14px;
}
.apresentacao {
    padding-bottom: 20px;
    border-bottom: 1px solid #eee;
}
.apresentacao > p:last-child,
.sobre li,
.sobre article p,
.proximos-passos p {
    color: #545454;
    line-height: 1.6;
}
.rotulo {
    margin-bottom: 8px;
    color: #00887a;
    font-size: 0.85rem;
    font-weight: bold;
    letter-spacing: 0.04em;
    text-transform: uppercase;
}
.fluxo-busca {
    display: grid;
    gap: 10px;
    padding-left: 22px;
}
.cartoes-arquitetura {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(220px, 1fr));
    gap: 14px;
}
.cartoes-arquitetura article {
    padding: 16px;
    border: 1px solid #d8eeea;
    border-radius: 8px;
    background: #f6fcfb;
}
.cartoes-arquitetura h3 {
    margin-bottom: 8px;
    color: #560967;
    font-size: 1rem;
}
.proximos-passos {
    margin-top: 32px;
    padding: 20px;
    border-radius: 8px;
    background: #f4f4f4;
}
.botao-secundario {
    display: inline-block;
    margin-top: 14px;
    padding: 9px 14px;
    border-radius: 50px;
    background: #00bfa5;
    color: white;
    font-weight: bold;
    text-decoration: none;
}
.botao-secundario:hover {
    background: #00887a;
}

h2 {
    color: #333333;
    margin-bottom: 5px;
}


.search-bar-container {
    display: flex;
    align-items: center;
    margin-bottom: 30px;
    padding: 5px;
    border: 1px solid #ddd;
    border-radius: 50px; /* Arredondamento */
    background-color: white;
    box-shadow: 0 4px 8px rgba(0, 0, 0, 0.15); /* Sombra */
}


/* 3. Estilo do Campo de Texto (Input) */
.campo-consulta {
    flex-grow: 1;
    position: relative;
}

.search-bar-container input[type="text"] {
    width: 100%;
    padding: 5px 0; 
    border: none;
    outline: none; /* Remove o contorno ao focar */
    font-size: 16px;
    color: #333;
}

/* 4. Estilos Comuns para os Ícones */
.search-icon, .mic-icon {
    font-size: 24px;
    padding: 8px 15px;
    cursor: pointer;
}

/* 5. Estilo Específico para a Lupa (Círculo Verde) */
.search-icon {
    border-radius: 50%;
    background-color: #00bfa5; /* Cor verde-água */
    color: white;
    margin-left: 5px; 
    margin-right: 10px;
    padding: 8px;
}

/* 6. Estilo Específico para o Microfone */
.mic-icon {
    color: #00bfa5;
    padding: 8px 15px 8px 0;
}

.submit-button {
    /* Estilo de botão moderno e compacto */
    padding: 8px 15px; 
    margin-right: 5px; /* Espaço na direita do contêiner */
    background-color: #00bfa5; /* Cor verde-água */
    color: white;
    border: none;
    border-radius: 50px; /* Arredondado para combinar com a barra */
    cursor: pointer;
    font-size: 14px;
    font-weight: bold;
    /* Garante que o botão esteja no mesmo nível dos outros itens */
    height: 40px; 
    line-height: 24px; /* Centraliza o texto verticalmente */
}

.submit-button:hover {
    background-color: #00887a; /* Feedback visual ao passar o mouse */
}

.modo-busca {
    display: flex;
    gap: 16px;
    margin: -18px 0 28px;
    padding: 0;
    border: 0;
    color: #545454;
    font-size: 0.9em;
}
.modo-busca legend {
    width: 100%;
    margin-bottom: 8px;
    font-weight: bold;
}
.modo-busca input {
    accent-color: #00bfa5;
}

.resultado {
    border-bottom: 1px solid #eee;
    padding: 10px 0;
}
.resultado h3 {
    margin: 0 0 5px 0;
    color: #560967; 
}
.resultado h3 a {
    color: inherit;
    text-decoration: none;
}
.resultado h3 a:hover {
    text-decoration: underline;
}
.resultado p {
    margin: 0;
    font-size: 0.9em;
    color: #545454;
}
.resultado .trecho {
    margin: 8px 0;
    color: #333;
    line-height: 1.5;
}
.trecho mark {
    background-color: #fff3a3;
    color: inherit;
    border-radius: 3px;
    padding: 1px 3px;
}
.sugestoes {
    position: absolute;
    z-index: 1;
    top: calc(100% + 10px);
    left: 0;
    right: 0;
    overflow: hidden;
    list-style: none;
    background: white;
    border: 1px solid #ddd;
    border-radius: 8px;
    box-shadow: 0 4px 12px rgba(0, 0, 0, 0.14);
}
.sugestoes button {
    width: 100%;
    padding: 10px 14px;
    border: 0;
    background: white;
    color: #333;
    cursor: pointer;
    font-size: 15px;
    text-align: left;
}
.sugestoes button:hover {
    background: #e8faf7;
}
.relevancia {
    font-weight: bold;
    color: #08987d;
}
