.container-busca {
    display: flex;
    flex-direction: column;
    justify-content: center;
    align-items: center;
    justify-self: center;
    gap: 2rem;
}

.relative.w-full.dv-termo.mb-4 {
    margin-bottom: 1rem !important;
}

.titulo-principal-pagina {
    color: white;
    font-size: 42px;
    text-align: center;
    font-weight: 600;
    padding: 2rem;
}

.organiza-titulos {
    margin: 1rem;
}

.subtitulo-principal {
    font: 24px;
    color: black;
}

.form-div {
    width: 60%;
    transition: all 0.35s ease;
}

.form-div:focus-within {
    width: 85%;
}

.organiza-pagina-inicial {
    width: 55vw;
    height: 65vh;
    display: flex;
    flex-direction: column;
    justify-content: space-around;
}

.section-busca {
    display: grid;
    justify-content: center;
    justify-self: center;
}

.search-form {
    display: flex;
    flex-direction: row;
    align-self: start;
    gap: 10px;
    align-items: center;
    width: 100%;
}

.search-wrapper {
    position: relative;
    width: 100%;
    display: flex;
    justify-content: center;
}

.search-button {
    position: absolute;
    right: 6px;
    top: 40%;
    transform: translateY(-50%);
    background: transparent;
    border: none;
    cursor: pointer;
    padding: 0;
    color: #666;
}

.search-button svg {
    width: 20px;
    height: 20px;
}

.barra-de-pesquisa {
    font-size: 18px !important;
    padding-right: 55px !important;
    padding-left: 35px !important;
    width: 20vw;
    height: 55px !important;

    background-color: rgba(255, 255, 255, 0.6);
    transition: all 0.3s ease;
}

/* 🔥 quando focar */
.form-div:focus-within .barra-de-pesquisa {
    background-color: rgba(255, 255, 255, 0.9);
    box-shadow: 0 0 0 3px rgba(46, 80, 173, 0.2);
}

.carrossel-artigos {
    width: 100%;
    max-width: 900px;
    margin: 40px auto;
    text-align: center;
}

.carrossel-artigos h2 {
    font-size: 24px;
    margin-bottom: 20px;
}

.carrossel-wrapper {
    position: relative;
    display: flex;
    align-items: center;
}

.h1-carrossel {
    display: flex;
    flex-direction: column;
    justify-self: center;
    text-transform: uppercase;
    font-weight: 500;
    letter-spacing: 2px;
}

.h1-carrossel span {
    display: flex;
    justify-self: center;
    background-color: #ece2e270;
    height: 1px;
    width: 100%;
    margin-top: 4px;
}

.carrossel {
    display: flex;
    overflow: hidden;
    scroll-behavior: smooth;
    width: 100%;
}

.item {
    min-width: 100%;
    padding: 20px;
    background: #f7f7f7;
    border-radius: 10px;
    box-shadow: 0 0 10px #00000015;
}

.titulo {
    font-size: 18px;
    font-weight: bold;
}

.autor {
    margin-top: 8px;
    color: #555;
}

.btn-prev,
.btn-next {
    background: none;
    border: none;
    font-size: 30px;
    cursor: pointer;
    padding: 10px;
    color: #333;
}
.palavra-rotativa {
    display: inline-block;
    position: relative;
    min-width: 260px; /* maior palavra */
    text-align: left;
}

.palavra {
    display: inline-block;
    white-space: nowrap;
}

/* cursor */
.palavra::after {
    content: "|";
    animation: blink 1s infinite;
    color: white;
}

@keyframes blink {
    0%, 50%, 100% { opacity: 1; }
    25%, 75% { opacity: 0; }
}

@media (max-width: 768px) {
    .titulo-principal-pagina {
        font-size: 30px;
        padding: 0;
    }

}
